Class StepMatchArgument


  • public class StepMatchArgument
    extends Object
    * 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()
        No args constructor for use in serialization
      • StepMatchArgument

        public StepMatchArgument​(Group group,
                                 String parameterTypeName)
        Parameters:
        parameterTypeName -
        group -
    • Method Detail

      • getGroup

        public Group getGroup()
        (Required)
      • setGroup

        public void setGroup​(Group group)
        (Required)
      • getParameterTypeName

        public String getParameterTypeName()
      • setParameterTypeName

        public void setParameterTypeName​(String parameterTypeName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object