cucumber.api.java8.Bg Maven / Gradle / Ivy
package cucumber.api.java8;
import cucumber.api.java8.StepdefBody.A0;
import cucumber.api.java8.StepdefBody.A1;
import cucumber.api.java8.StepdefBody.A2;
import cucumber.api.java8.StepdefBody.A3;
import cucumber.api.java8.StepdefBody.A4;
import cucumber.api.java8.StepdefBody.A5;
import cucumber.api.java8.StepdefBody.A6;
import cucumber.api.java8.StepdefBody.A7;
import cucumber.api.java8.StepdefBody.A8;
import cucumber.api.java8.StepdefBody.A9;
import cucumber.runtime.java.LambdaGlueRegistry;
import cucumber.runtime.java8.Java8StepDefinition;
import cucumber.runtime.java8.LambdaGlueBase;
/**
* To execute steps in a feature file the steps must be
* connected to executable code. This can be done by
* implementing this interface.
*
* The parameters extracted from the step by the expression
* along with the data table or doc string argument are provided as
* arguments to the lambda expression.
*
* The types of the parameters are determined by the cucumber or
* regular expression.
*
* The type of the data table or doc string argument is determined
* by the argument name value. When none is provided cucumber will
* attempt to transform the data table or doc string to the the
* type of last argument.
*/
public interface Bg extends LambdaGlueBase {
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with no parameters
*/
default void Дадено(String expression, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with no parameters
*/
default void Дадено(String expression, long timeoutMillis, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 1 parameters
*/
default void Дадено(String expression, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 1 parameters
*/
default void Дадено(String expression, long timeoutMillis, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 2 parameters
*/
default void Дадено(String expression, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 2 parameters
*/
default void Дадено(String expression, long timeoutMillis, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 3 parameters
*/
default void Дадено(String expression, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 3 parameters
*/
default void Дадено(String expression, long timeoutMillis, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 4 parameters
*/
default void Дадено(String expression, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 4 parameters
*/
default void Дадено(String expression, long timeoutMillis, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 5 parameters
*/
default void Дадено(String expression, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 5 parameters
*/
default void Дадено(String expression, long timeoutMillis, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 6 parameters
*/
default void Дадено(String expression, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 6 parameters
*/
default void Дадено(String expression, long timeoutMillis, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 7 parameters
*/
default void Дадено(String expression, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 7 parameters
*/
default void Дадено(String expression, long timeoutMillis, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 8 parameters
*/
default void Дадено(String expression, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 8 parameters
*/
default void Дадено(String expression, long timeoutMillis, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 9 parameters
*/
default void Дадено(String expression, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 9 parameters
*/
default void Дадено(String expression, long timeoutMillis, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with no parameters
*/
default void И(String expression, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with no parameters
*/
default void И(String expression, long timeoutMillis, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 1 parameters
*/
default void И(String expression, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 1 parameters
*/
default void И(String expression, long timeoutMillis, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 2 parameters
*/
default void И(String expression, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 2 parameters
*/
default void И(String expression, long timeoutMillis, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 3 parameters
*/
default void И(String expression, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 3 parameters
*/
default void И(String expression, long timeoutMillis, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 4 parameters
*/
default void И(String expression, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 4 parameters
*/
default void И(String expression, long timeoutMillis, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 5 parameters
*/
default void И(String expression, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 5 parameters
*/
default void И(String expression, long timeoutMillis, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 6 parameters
*/
default void И(String expression, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 6 parameters
*/
default void И(String expression, long timeoutMillis, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 7 parameters
*/
default void И(String expression, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 7 parameters
*/
default void И(String expression, long timeoutMillis, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 8 parameters
*/
default void И(String expression, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 8 parameters
*/
default void И(String expression, long timeoutMillis, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 9 parameters
*/
default void И(String expression, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 9 parameters
*/
default void И(String expression, long timeoutMillis, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with no parameters
*/
default void Когато(String expression, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with no parameters
*/
default void Когато(String expression, long timeoutMillis, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 1 parameters
*/
default void Когато(String expression, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 1 parameters
*/
default void Когато(String expression, long timeoutMillis, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 2 parameters
*/
default void Когато(String expression, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 2 parameters
*/
default void Когато(String expression, long timeoutMillis, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 3 parameters
*/
default void Когато(String expression, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 3 parameters
*/
default void Когато(String expression, long timeoutMillis, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 4 parameters
*/
default void Когато(String expression, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 4 parameters
*/
default void Когато(String expression, long timeoutMillis, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 5 parameters
*/
default void Когато(String expression, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 5 parameters
*/
default void Когато(String expression, long timeoutMillis, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 6 parameters
*/
default void Когато(String expression, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 6 parameters
*/
default void Когато(String expression, long timeoutMillis, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 7 parameters
*/
default void Когато(String expression, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 7 parameters
*/
default void Когато(String expression, long timeoutMillis, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 8 parameters
*/
default void Когато(String expression, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 8 parameters
*/
default void Когато(String expression, long timeoutMillis, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 9 parameters
*/
default void Когато(String expression, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 9 parameters
*/
default void Когато(String expression, long timeoutMillis, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with no parameters
*/
default void Но(String expression, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with no parameters
*/
default void Но(String expression, long timeoutMillis, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 1 parameters
*/
default void Но(String expression, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 1 parameters
*/
default void Но(String expression, long timeoutMillis, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 2 parameters
*/
default void Но(String expression, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 2 parameters
*/
default void Но(String expression, long timeoutMillis, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 3 parameters
*/
default void Но(String expression, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 3 parameters
*/
default void Но(String expression, long timeoutMillis, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 4 parameters
*/
default void Но(String expression, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 4 parameters
*/
default void Но(String expression, long timeoutMillis, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 5 parameters
*/
default void Но(String expression, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 5 parameters
*/
default void Но(String expression, long timeoutMillis, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 6 parameters
*/
default void Но(String expression, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 6 parameters
*/
default void Но(String expression, long timeoutMillis, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 7 parameters
*/
default void Но(String expression, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 7 parameters
*/
default void Но(String expression, long timeoutMillis, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 8 parameters
*/
default void Но(String expression, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 8 parameters
*/
default void Но(String expression, long timeoutMillis, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 9 parameters
*/
default void Но(String expression, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 9 parameters
*/
default void Но(String expression, long timeoutMillis, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with no parameters
*/
default void То(String expression, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with no parameters
*/
default void То(String expression, long timeoutMillis, A0 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A0.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 1 parameters
*/
default void То(String expression, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 1 parameters
*/
default void То(String expression, long timeoutMillis, A1 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A1.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 2 parameters
*/
default void То(String expression, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 2 parameters
*/
default void То(String expression, long timeoutMillis, A2 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A2.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 3 parameters
*/
default void То(String expression, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 3 parameters
*/
default void То(String expression, long timeoutMillis, A3 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A3.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 4 parameters
*/
default void То(String expression, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 4 parameters
*/
default void То(String expression, long timeoutMillis, A4 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A4.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 5 parameters
*/
default void То(String expression, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 5 parameters
*/
default void То(String expression, long timeoutMillis, A5 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A5.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 6 parameters
*/
default void То(String expression, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 6 parameters
*/
default void То(String expression, long timeoutMillis, A6 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A6.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 7 parameters
*/
default void То(String expression, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 7 parameters
*/
default void То(String expression, long timeoutMillis, A7 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A7.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 8 parameters
*/
default void То(String expression, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 8 parameters
*/
default void То(String expression, long timeoutMillis, A8 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A8.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with 9 parameters
*/
default void То(String expression, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, A9.class, body, typeRegistry)
);
}
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param timeoutMillis max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
* @param body a lambda expression with 9 parameters
*/
default void То(String expression, long timeoutMillis, A9 body) {
LambdaGlueRegistry.INSTANCE.get().addStepDefinition((typeRegistry) ->
Java8StepDefinition.create(expression, timeoutMillis, A9.class, body, typeRegistry)
);
}
}