Package io.cucumber.messages.types
Class StepMatchArgument
- java.lang.Object
-
- io.cucumber.messages.types.StepMatchArgument
-
public final class StepMatchArgument extends Object
Represents the StepMatchArgument message in Cucumber's message protocol- See Also:
- Github - Cucumber - Messages Represents a single argument extracted from a step match and passed to a step definition. This is used for the following purposes: - Construct an argument to pass to a step definition (possibly through a parameter type transform) - Highlight the matched parameter in rich formatters such as the HTML formatter This message closely matches the `Argument` class in the `cucumber-expressions` library.
-
-
Constructor Summary
Constructors Constructor Description StepMatchArgument(Group group, String parameterTypeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)GroupgetGroup()Represents the outermost capture group of an argument.Optional<String>getParameterTypeName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getGroup
public Group getGroup()
Represents the outermost capture group of an argument. This message closely matches the `Group` class in the `cucumber-expressions` library.
-
-