Package io.cucumber.plugin.event
Class WriteEvent
- java.lang.Object
-
- io.cucumber.plugin.event.TestCaseEvent
-
- io.cucumber.plugin.event.WriteEvent
-
- All Implemented Interfaces:
Event
@API(status=STABLE) public final class WriteEvent extends TestCaseEvent
-
-
Constructor Summary
Constructors Constructor Description WriteEvent(Instant timeInstant, TestCase testCase, String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getInstant()
Returns instant from epoch.String
getText()
-
Methods inherited from class io.cucumber.plugin.event.TestCaseEvent
getTestCase
-
-
-
-
Method Detail
-
getText
public String getText()
-
getInstant
public Instant getInstant()
Returns instant from epoch.- Specified by:
getInstant
in interfaceEvent
- Returns:
- time instant in Instant
- See Also:
Instant.now()
-
-