java.lang.Object
io.cucumber.messages.types.PickleStep
Represents the PickleStep message in Cucumber's message protocol
An executable step
-
Constructor Summary
ConstructorsConstructorDescriptionPickleStep(@Nullable PickleStepArgument argument, List<String> astNodeIds, String id, @Nullable PickleStepType type, String text) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe first argument for this step, if anyReferences the IDs of the source of the step.getId()A unique ID for the PickleStepgetText()getType()The context in which the step was specified: context (Given), action (When) or outcome (Then).inthashCode()toString()
-
Constructor Details
-
PickleStep
public PickleStep(@Nullable PickleStepArgument argument, List<String> astNodeIds, String id, @Nullable PickleStepType type, String text)
-
-
Method Details
-
getArgument
The first argument for this step, if any -
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 -
getId
A unique ID for the PickleStep -
getType
The context in which the step was specified: context (Given), action (When) or outcome (Then).Note that the keywords `But` and `And` inherit their meaning from prior steps and the `*` 'keyword' doesn't have specific meaning (hence Unknown)
-
getText
-
equals
-
hashCode
public int hashCode() -
toString
-