Class HeapSize
- java.lang.Object
-
- org.opentest4j.reporting.events.api.Element<T>
-
- org.opentest4j.reporting.events.api.ChildElement<Infrastructure,HeapSize>
-
- org.opentest4j.reporting.events.java.HeapSize
-
- All Implemented Interfaces:
Appendable<HeapSize>
public class HeapSize extends ChildElement<Infrastructure,HeapSize>
TheheapSize
element of the Java namespace.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeapSize
withMax(long bytes)
Set themax
attribute of this element.-
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 Detail
-
withMax
public HeapSize withMax(long bytes)
Set themax
attribute of this element.- Parameters:
bytes
- the number of bytes- Returns:
- this element
-
-