Top Description Fields Constructors Methods
org.opentest4j.reporting.events.java

public Class HeapSize

extends ChildElement<Infrastructure, HeapSize>
Class Inheritance
Annotations
@API
status:EXPERIMENTAL
since:0.1.0
Imports
org.apiguardian.api.API, org.opentest4j.reporting.events.api.ChildElement, .Context, org.opentest4j.reporting.events.core.Infrastructure, org.opentest4j.reporting.schema.Namespace, .QualifiedName

The heapSize element of the Java namespace.
Since
0.1.0

Field Summary

Modifier and TypeField and Description
public static final QualifiedName
ELEMENT

Qualified name of the heapSize element.

public static final QualifiedName
MAX

Qualified name of the max attribute.

Constructor Summary

AccessConstructor and Description
pack-priv
HeapSize(Context context)

Method Summary

Modifier and TypeMethod and Description
public HeapSize

Returns:

this element
withMax
(long
the number of bytes
bytes
)

Set the max attribute of this element.

Field Detail

ELEMENTback to summary
public static final QualifiedName ELEMENT

Qualified name of the heapSize element.

MAXback to summary
public static final QualifiedName MAX

Qualified name of the max attribute.

Constructor Detail

HeapSizeback to summary
pack-priv HeapSize(Context context)

Method Detail

withMaxback to summary
public HeapSize withMax(long bytes)

Set the max attribute of this element.

Parameters
bytes:long

the number of bytes

Returns:HeapSize

this element