io.cucumber.plugin.event.Argument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-plugin Show documentation
Show all versions of cucumber-plugin Show documentation
Plugin interface for Cucumber-JVM
package io.cucumber.plugin.event;
import org.apiguardian.api.API;
/**
* Represents an argument in a cucumber or regular expressions
*
* The step definition {@code I have {long} cukes in my belly} when matched with
* {@code I have 7 cukes in my belly} will produce one argument with value
* {@code "4"}, starting at {@code 7} and ending at {@code 8}.
*/
@API(status = API.Status.STABLE)
public interface Argument {
String getParameterTypeName();
String getValue();
int getStart();
int getEnd();
Group getGroup();
}