Class StepPattern


  • public class StepPattern
    extends Object

    Represents a step pattern, as provided in the method annotations. This pattern will in turn be resolved by the chosen StepMatcher, e.g. a regex pattern if using the RegexStepMatcher

    • Constructor Detail

    • Method Detail

      • annotated

        public String annotated()
        Returns the step pattern as provided in the method annotation
        Returns:
        The String representing the annotated pattern
      • resolved

        public String resolved()
        Return the step pattern as resolved by the step matcher
        Returns:
        The String representing the resolved pattern
      • type

        public StepType type()
        Return the step type
        Returns:
        The enum for the StepType