Class Data
java.lang.Object
org.opentest4j.reporting.events.api.Element<Data>
org.opentest4j.reporting.events.api.ChildElement<Attachments,Data>
org.opentest4j.reporting.events.core.Data
- All Implemented Interfaces:
Appendable<Data>
The
data
element of the core namespace.-
Method Summary
Methods inherited from class org.opentest4j.reporting.events.api.Element
append, toString, withAttribute, withCDataSection, withContent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opentest4j.reporting.events.api.Appendable
append
-
Method Details
-
withTime
Set thetime
attribute of this element.- Parameters:
timestamp
- the timestamp to set- Returns:
- this element
-
addEntry
Add anentry
child element to this element.- Parameters:
key
- entry keyvalue
- entry value
-