ReportEntry
encapsulates a time-stamped map of String
-based
key-value pairs to be published to the reporting infrastructure.
from(Map)
, from(String, String)
Modifier and Type | Field and Description |
---|---|
private final Map | |
private final LocalDateTime |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private void | |
public static ReportEntry | |
public static ReportEntry | |
public final Map | Returns: a copy of the map of key-value pairs; nevernull Get an unmodifiable copy of the map of key-value pairs to be published. |
public final LocalDateTime | Returns: when this entry was created; nevernull Get the timestamp for when this |
public String |
keyValuePairs | back to summary |
---|---|
private final Map<String, String> keyValuePairs |
timestamp | back to summary |
---|---|
private final LocalDateTime timestamp |
ReportEntry | back to summary |
---|---|
public ReportEntry()
Deprecated Use
|
add | back to summary |
---|---|
private void add(String key, String value) |
from | back to summary |
---|---|
public static ReportEntry from(Map<String, String> keyValuePairs) Factory for creating a new |
from | back to summary |
---|---|
public static ReportEntry from(String key, String value) Factory for creating a new |
getKeyValuePairs | back to summary |
---|---|
public final Map Get an unmodifiable copy of the map of key-value pairs to be published. |
getTimestamp | back to summary |
---|---|
public final LocalDateTime getTimestamp() Get the timestamp for when this Can be used, for example, to order entries.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |