Class Argument


  • public class Argument
    extends Object
    The Argument class represents a Cucumber step argument.
    • Constructor Detail

      • Argument

        public Argument()
    • Method Detail

      • getVal

        public String getVal()
        Gets the value of the argument.
        Returns:
        A string representing the value of the argument.
      • setVal

        public void setVal​(String val)
        Sets the value of the argument.
        Parameters:
        val - A string representing the value to be set.
      • getOffset

        public int getOffset()
        Gets the offset of the argument.
        Returns:
        An integer representing the offset of the argument.
      • setOffset

        public void setOffset​(int offset)
        Sets the offset of the argument.
        Parameters:
        offset - An integer representing the offset to be set.