Package io.cucumber.plugin.event
Class StepDefinedEvent
- java.lang.Object
-
- io.cucumber.plugin.event.StepDefinedEvent
-
-
Constructor Summary
Constructors Constructor Description StepDefinedEvent(Instant timeInstant, StepDefinition stepDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getInstant()
Returns instant from epoch.StepDefinition
getStepDefinition()
-
-
-
Constructor Detail
-
StepDefinedEvent
public StepDefinedEvent(Instant timeInstant, StepDefinition stepDefinition)
-
-
Method Detail
-
getStepDefinition
public StepDefinition getStepDefinition()
-
getInstant
public Instant getInstant()
Returns instant from epoch.- Specified by:
getInstant
in interfaceEvent
- Returns:
- time instant in Instant
- See Also:
Instant.now()
-
-