Package io.cucumber.messages.types
Class PickleStep
- java.lang.Object
-
- io.cucumber.messages.types.PickleStep
-
public class PickleStep extends Object
* An executable step
-
-
Constructor Summary
Constructors Constructor Description PickleStep()No args constructor for use in serializationPickleStep(PickleStepArgument argument, List<String> astNodeIds, String id, String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)PickleStepArgumentgetArgument()An optional argumentList<String>getAstNodeIds()References the IDs of the source of the step.StringgetId()A unique ID for the PickleStep (Required)StringgetText()(Required)inthashCode()voidsetArgument(PickleStepArgument argument)An optional argumentvoidsetAstNodeIds(List<String> astNodeIds)References the IDs of the source of the step.voidsetId(String id)A unique ID for the PickleStep (Required)voidsetText(String text)(Required)StringtoString()
-
-
-
Constructor Detail
-
PickleStep
public PickleStep()
No args constructor for use in serialization
-
PickleStep
public PickleStep(PickleStepArgument argument, List<String> astNodeIds, String id, String text)
- Parameters:
argument-id-text-astNodeIds-
-
-
Method Detail
-
getArgument
public PickleStepArgument getArgument()
An optional argument
-
setArgument
public void setArgument(PickleStepArgument argument)
An optional argument
-
getAstNodeIds
public List<String> getAstNodeIds()
References the IDs of the source of the step. For Gherkin, this can be the ID of a Step, and possibly also the ID of a TableRow (Required)
-
setAstNodeIds
public void setAstNodeIds(List<String> astNodeIds)
References the IDs of the source of the step. For Gherkin, this can be the ID of a Step, and possibly also the ID of a TableRow (Required)
-
getId
public String getId()
A unique ID for the PickleStep (Required)
-
setId
public void setId(String id)
A unique ID for the PickleStep (Required)
-
getText
public String getText()
(Required)
-
setText
public void setText(String text)
(Required)
-
-