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

public final Class Started

extends Event
Class Inheritance
Imports
org.opentest4j.reporting.events.api.Context, org.opentest4j.reporting.schema.Namespace, .QualifiedName, java.time.Instant

The started element of the events namespace.

Field Summary

Modifier and TypeField and Description
public static final QualifiedName
ELEMENT

Qualified name of the started element.

private static final QualifiedName
NAME

Qualified name of the name attribute of a started event.

public static final QualifiedName
PARENT_ID

Qualified name of the parentId attribute of a started event.

Inherited from org.opentest4j.reporting.events.root.Event:
IDTIME

Constructor Summary

AccessConstructor and Description
pack-priv
Started(Context context)

Method Summary

Modifier and TypeMethod and Description
pack-priv Started
pack-priv Started
public Started

Returns:

this event
withParentId
(String
the parent id
parentId
)

Set the parentId attribute of this started event.

pack-priv Started

Field Detail

ELEMENTback to summary
public static final QualifiedName ELEMENT

Qualified name of the started element.

NAMEback to summary
private static final QualifiedName NAME

Qualified name of the name attribute of a started event.

PARENT_IDback to summary
public static final QualifiedName PARENT_ID

Qualified name of the parentId attribute of a started event.

Constructor Detail

Startedback to summary
pack-priv Started(Context context)

Method Detail

withIdback to summary
pack-priv Started withId(String id)

Overrides org.opentest4j.reporting.events.root.Event.withId.

Annotations
@Override
withNameback to summary
pack-priv Started withName(String name)
withParentIdback to summary
public Started withParentId(String parentId)

Set the parentId attribute of this started event.

Parameters
parentId:String

the parent id

Returns:Started

this event

Annotations
@SuppressWarnings:UnusedReturnValue
withTimeback to summary
pack-priv Started withTime(Instant time)

Overrides org.opentest4j.reporting.events.root.Event.withTime.

Annotations
@Override