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

public Class HeapSize

extends ChildElement<Infrastructure, HeapSize>
Class Inheritance
Imports
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.

Field Summary

Modifier and TypeField and Description
private static final QualifiedName
private static final QualifiedName

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
private static final QualifiedName ELEMENT
MAXback to summary
private static final QualifiedName MAX

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