Package io.cucumber.messages.types
Class TestStep
- java.lang.Object
-
- io.cucumber.messages.types.TestStep
-
public class TestStep extends Object
* A `TestStep` is derived from either a `PickleStep` combined with a `StepDefinition`, or from a `Hook`.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetHookId()Pointer to the `Hook` (if derived from a Hook)StringgetId()(Required)StringgetPickleStepId()Pointer to the `PickleStep` (if derived from a `PickleStep`)List<String>getStepDefinitionIds()Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)List<StepMatchArgumentsList>getStepMatchArgumentsLists()A list of list of StepMatchArgument (if derived from a `PickleStep`).inthashCode()voidsetHookId(String hookId)Pointer to the `Hook` (if derived from a Hook)voidsetId(String id)(Required)voidsetPickleStepId(String pickleStepId)Pointer to the `PickleStep` (if derived from a `PickleStep`)voidsetStepDefinitionIds(List<String> stepDefinitionIds)Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)voidsetStepMatchArgumentsLists(List<StepMatchArgumentsList> stepMatchArgumentsLists)A list of list of StepMatchArgument (if derived from a `PickleStep`).StringtoString()
-
-
-
Method Detail
-
getHookId
public String getHookId()
Pointer to the `Hook` (if derived from a Hook)
-
setHookId
public void setHookId(String hookId)
Pointer to the `Hook` (if derived from a Hook)
-
getId
public String getId()
(Required)
-
setId
public void setId(String id)
(Required)
-
getPickleStepId
public String getPickleStepId()
Pointer to the `PickleStep` (if derived from a `PickleStep`)
-
setPickleStepId
public void setPickleStepId(String pickleStepId)
Pointer to the `PickleStep` (if derived from a `PickleStep`)
-
getStepDefinitionIds
public List<String> getStepDefinitionIds()
Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
-
setStepDefinitionIds
public void setStepDefinitionIds(List<String> stepDefinitionIds)
Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
-
getStepMatchArgumentsLists
public List<StepMatchArgumentsList> getStepMatchArgumentsLists()
A list of list of StepMatchArgument (if derived from a `PickleStep`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
-
setStepMatchArgumentsLists
public void setStepMatchArgumentsLists(List<StepMatchArgumentsList> stepMatchArgumentsLists)
A list of list of StepMatchArgument (if derived from a `PickleStep`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
-
-