Package io.cucumber.messages.types
Class TestRunHookStarted
- java.lang.Object
-
- io.cucumber.messages.types.TestRunHookStarted
-
public final class TestRunHookStarted extends Object
Represents the TestRunHookStarted message in Cucumber's message protocol
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHookId()Identifier for the hook that will be executedStringgetId()Unique identifier for this hook executionStringgetTestRunStartedId()Identifier for the test run that this hook execution belongs toTimestampgetTimestamp()Optional<String>getWorkerId()An identifier for the worker process running this hook, if parallel workers are in use.inthashCode()StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
Unique identifier for this hook execution
-
getTestRunStartedId
public String getTestRunStartedId()
Identifier for the test run that this hook execution belongs to
-
getHookId
public String getHookId()
Identifier for the hook that will be executed
-
getWorkerId
public Optional<String> getWorkerId()
An identifier for the worker process running this hook, if parallel workers are in use. The identifier will be unique per worker, but no particular format is defined - it could be an index, uuid, machine name etc - and as such should be assumed that it's not human readable.
-
getTimestamp
public Timestamp getTimestamp()
-
-