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 |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public static ReportEntry | |
| public static ReportEntry | |
| public Map | Returns: a copy of the map of key-value pairs; nevernullGet an unmodifiable copy of the map of key-value pairs to be published. |
| public LocalDateTime | Returns: when this entry was created; nevernullGet 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 |
|---|---|
| private ReportEntry() | |
| 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 Map Get an unmodifiable copy of the map of key-value pairs to be published. | |
| getTimestamp | back to summary |
|---|---|
| public 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.
Satisfying this method's contract implies a non-
| |