@API(value=Experimental)
public class ReportEntry
extends java.lang.Object
ReportEntry —
that is a time-stamped map of String-based key-value pairs
to be published to the reporting infrastructure.| Modifier and Type | Method and Description |
|---|---|
void |
appendDescription(java.lang.Appendable appendable,
java.lang.String entryTitle) |
static ReportEntry |
from(java.util.Map<java.lang.String,java.lang.String> values)
Provide a new
ReportEntry with the supplied values. |
static ReportEntry |
from(java.lang.String key,
java.lang.String value)
Provide a new
ReportEntry with the supplied values. |
java.time.LocalDateTime |
getCreationTimestamp()
Get the creation date of this
ReportEntry. |
java.util.Map<java.lang.String,java.lang.String> |
getValues()
Get the values to be published.
|
java.lang.String |
toString() |
public static ReportEntry from(java.util.Map<java.lang.String,java.lang.String> values)
ReportEntry with the supplied values.values - the values to be publishedpublic static ReportEntry from(java.lang.String key, java.lang.String value)
ReportEntry with the supplied values.key - the key of the value to be publishedvalue - the value to be publishedpublic java.util.Map<java.lang.String,java.lang.String> getValues()
public java.time.LocalDateTime getCreationTimestamp()
ReportEntry.
Can be used, for example, to order entries.
public java.lang.String toString()
toString in class java.lang.Objectpublic void appendDescription(java.lang.Appendable appendable,
java.lang.String entryTitle)