All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cucumber.plugin.event.Argument Maven / Gradle / Ivy

The newest version!
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(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy