Package io.cucumber.messages.types
Class TestStepResult
- java.lang.Object
-
- io.cucumber.messages.types.TestStepResult
-
public class TestStepResult extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestStepResult.Status
-
Constructor Summary
Constructors Constructor Description TestStepResult()No args constructor for use in serializationTestStepResult(Duration duration, String message, TestStepResult.Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)DurationgetDuration()The structure is pretty close of the Timestamp one.StringgetMessage()TestStepResult.StatusgetStatus()(Required)inthashCode()voidsetDuration(Duration duration)The structure is pretty close of the Timestamp one.voidsetMessage(String message)voidsetStatus(TestStepResult.Status status)(Required)StringtoString()
-
-
-
Constructor Detail
-
TestStepResult
public TestStepResult()
No args constructor for use in serialization
-
TestStepResult
public TestStepResult(Duration duration, String message, TestStepResult.Status status)
- Parameters:
duration-message-status-
-
-
Method Detail
-
getDuration
public Duration getDuration()
The structure is pretty close of the Timestamp one. For clarity, a second type of message is used. (Required)
-
setDuration
public void setDuration(Duration duration)
The structure is pretty close of the Timestamp one. For clarity, a second type of message is used. (Required)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getStatus
public TestStepResult.Status getStatus()
(Required)
-
setStatus
public void setStatus(TestStepResult.Status status)
(Required)
-
-