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

io.cucumber.java8.Hu Maven / Gradle / Ivy

There is a newer version: 7.20.1
Show newest version
package io.cucumber.java8;

import io.cucumber.java8.StepDefinitionBody.A0;
import io.cucumber.java8.StepDefinitionBody.A1;
import io.cucumber.java8.StepDefinitionBody.A2;
import io.cucumber.java8.StepDefinitionBody.A3;
import io.cucumber.java8.StepDefinitionBody.A4;
import io.cucumber.java8.StepDefinitionBody.A5;
import io.cucumber.java8.StepDefinitionBody.A6;
import io.cucumber.java8.StepDefinitionBody.A7;
import io.cucumber.java8.StepDefinitionBody.A8;
import io.cucumber.java8.StepDefinitionBody.A9;

import io.cucumber.java8.LambdaGlueRegistry;
import io.cucumber.java8.Java8StepDefinition;
import io.cucumber.java8.LambdaGlue;

import org.apiguardian.api.API;

/**
 * Hungarian - magyar
 * 

* 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 * type of last argument. */ @API(status = API.Status.STABLE) public interface Hu extends LambdaGlue { /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void Adott(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void Adott(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void Adott(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void Adott(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void Adott(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void Adott(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void Adott(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void Adott(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void Adott(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void Adott(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void Akkor(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void Akkor(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void Akkor(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void Akkor(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void Akkor(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void Akkor(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void Akkor(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void Akkor(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void Akkor(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void Akkor(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void Amennyiben(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void Amennyiben(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void Amennyiben(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void Amennyiben(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void Amennyiben(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void Amennyiben(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void Amennyiben(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void Amennyiben(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void Amennyiben(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void Amennyiben(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void Amikor(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void Amikor(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void Amikor(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void Amikor(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void Amikor(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void Amikor(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void Amikor(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void Amikor(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void Amikor(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void Amikor(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void De(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void De(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void De(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void De(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void De(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void De(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void De(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void De(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void De(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void De(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void Ha(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void Ha(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void Ha(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void Ha(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void Ha(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void Ha(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void Ha(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void Ha(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void Ha(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void Ha(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void Majd(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void Majd(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void Majd(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void Majd(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void Majd(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void Majd(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void Majd(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void Majd(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void Majd(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void Majd(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with no parameters */ default void És(String expression, A0 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A0.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 1 parameter * * @param type of argument 1 */ default void És(String expression, A1 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A1.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 2 parameters * * @param type of argument 1 * @param type of argument 2 */ default void És(String expression, A2 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A2.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 3 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 */ default void És(String expression, A3 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A3.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 4 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 */ default void És(String expression, A4 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A4.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 5 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 */ default void És(String expression, A5 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A5.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 6 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 */ default void És(String expression, A6 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A6.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 7 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 */ default void És(String expression, A7 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A7.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 8 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 */ default void És(String expression, A8 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A8.class, body)); } /** * Creates a new step definition. * * @param expression the cucumber expression * @param body a lambda expression with 9 parameters * * @param type of argument 1 * @param type of argument 2 * @param type of argument 3 * @param type of argument 4 * @param type of argument 5 * @param type of argument 6 * @param type of argument 7 * @param type of argument 8 * @param type of argument 9 */ default void És(String expression, A9 body) { LambdaGlueRegistry.INSTANCE.get().addStepDefinition(Java8StepDefinition.create(expression, A9.class, body)); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy