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, withContentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opentest4j.reporting.events.api.Appendable
append
-
Method Details
-
withTime
Set thetimeattribute of this element.- Parameters:
timestamp- the timestamp to set- Returns:
- this element
-
addEntry
Add anentrychild element to this element.- Parameters:
key- entry keyvalue- entry value
-