cucumber.api.java8.De 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 De extends LambdaGlueBase {
/**
* Creates a new step definition.
*
* @param expression the cucumber expression
* @param body a lambda expression with no parameters
*/
default void Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Aber(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Angenommen(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Dann(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebensei(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Gegebenseien(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Und(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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 Wenn(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