Class Argument
- java.lang.Object
-
- com.trivago.cluecumber.engine.json.pojo.Argument
-
public class Argument extends Object
The Argument class represents a Cucumber step argument.
-
-
Constructor Summary
Constructors Constructor Description Argument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOffset()Gets the offset of the argument.StringgetVal()Gets the value of the argument.voidsetOffset(int offset)Sets the offset of the argument.voidsetVal(String val)Sets the value of the 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.
-
-