Class 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 Detail

      • StepMatchArgument

        public StepMatchArgument​(Group group,
                                 String parameterTypeName)
    • 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.
      • getParameterTypeName

        public Optional<String> getParameterTypeName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object