Package io.cucumber.java8
Interface En
-
- All Superinterfaces:
LambdaGlue
@API(status=STABLE) public interface En extends LambdaGlue
EnglishTo 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.
-
-
Field Summary
-
Fields inherited from interface io.cucumber.java8.LambdaGlue
DEFAULT_AFTER_ORDER, DEFAULT_BEFORE_ORDER, EMPTY_TAG_EXPRESSION, NO_REPLACEMENT
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
And(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.default <T1> void
And(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.default <T1,T2>
voidAnd(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.default <T1,T2,T3>
voidAnd(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.default <T1,T2,T3,T4>
voidAnd(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.default <T1,T2,T3,T4,T5>
voidAnd(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6>
voidAnd(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7>
voidAnd(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8>
voidAnd(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8,T9>
voidAnd(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.default void
But(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.default <T1> void
But(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.default <T1,T2>
voidBut(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.default <T1,T2,T3>
voidBut(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.default <T1,T2,T3,T4>
voidBut(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.default <T1,T2,T3,T4,T5>
voidBut(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6>
voidBut(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7>
voidBut(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8>
voidBut(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8,T9>
voidBut(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.default void
Given(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.default <T1> void
Given(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.default <T1,T2>
voidGiven(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.default <T1,T2,T3>
voidGiven(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.default <T1,T2,T3,T4>
voidGiven(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.default <T1,T2,T3,T4,T5>
voidGiven(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6>
voidGiven(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7>
voidGiven(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8>
voidGiven(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8,T9>
voidGiven(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.default void
Then(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.default <T1> void
Then(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.default <T1,T2>
voidThen(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.default <T1,T2,T3>
voidThen(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.default <T1,T2,T3,T4>
voidThen(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.default <T1,T2,T3,T4,T5>
voidThen(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6>
voidThen(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7>
voidThen(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8>
voidThen(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8,T9>
voidThen(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.default void
When(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.default <T1> void
When(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.default <T1,T2>
voidWhen(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.default <T1,T2,T3>
voidWhen(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.default <T1,T2,T3,T4>
voidWhen(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.default <T1,T2,T3,T4,T5>
voidWhen(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6>
voidWhen(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7>
voidWhen(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8>
voidWhen(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.default <T1,T2,T3,T4,T5,T6,T7,T8,T9>
voidWhen(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.-
Methods inherited from interface io.cucumber.java8.LambdaGlue
After, After, After, After, After, After, After, After, AfterStep, AfterStep, AfterStep, AfterStep, AfterStep, AfterStep, AfterStep, AfterStep, Before, Before, Before, Before, Before, Before, Before, Before, BeforeStep, BeforeStep, BeforeStep, BeforeStep, BeforeStep, BeforeStep, BeforeStep, BeforeStep, DataTableType, DataTableType, DataTableType, DataTableType, DataTableType, DataTableType, DataTableType, DataTableType, DefaultDataTableCellTransformer, DefaultDataTableCellTransformer, DefaultDataTableEntryTransformer, DefaultDataTableEntryTransformer, DefaultParameterTransformer, DocStringType, ParameterType, ParameterType, ParameterType, ParameterType, ParameterType, ParameterType, ParameterType, ParameterType, ParameterType
-
-
-
-
Method Detail
-
And
default void And(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
And
default <T1> void And(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameters
-
And
default <T1,T2> void And(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 2 parameters
-
And
default <T1,T2,T3> void And(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 3 parameters
-
And
default <T1,T2,T3,T4> void And(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 4 parameters
-
And
default <T1,T2,T3,T4,T5> void And(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 5 parameters
-
And
default <T1,T2,T3,T4,T5,T6> void And(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 6 parameters
-
And
default <T1,T2,T3,T4,T5,T6,T7> void And(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 7 parameters
-
And
default <T1,T2,T3,T4,T5,T6,T7,T8> void And(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 8 parameters
-
And
default <T1,T2,T3,T4,T5,T6,T7,T8,T9> void And(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8T9
- type of argument 9- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 9 parameters
-
But
default void But(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
But
default <T1> void But(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameters
-
But
default <T1,T2> void But(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 2 parameters
-
But
default <T1,T2,T3> void But(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 3 parameters
-
But
default <T1,T2,T3,T4> void But(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 4 parameters
-
But
default <T1,T2,T3,T4,T5> void But(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 5 parameters
-
But
default <T1,T2,T3,T4,T5,T6> void But(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 6 parameters
-
But
default <T1,T2,T3,T4,T5,T6,T7> void But(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 7 parameters
-
But
default <T1,T2,T3,T4,T5,T6,T7,T8> void But(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 8 parameters
-
But
default <T1,T2,T3,T4,T5,T6,T7,T8,T9> void But(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8T9
- type of argument 9- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 9 parameters
-
Given
default void Given(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
Given
default <T1> void Given(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameters
-
Given
default <T1,T2> void Given(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 2 parameters
-
Given
default <T1,T2,T3> void Given(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 3 parameters
-
Given
default <T1,T2,T3,T4> void Given(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 4 parameters
-
Given
default <T1,T2,T3,T4,T5> void Given(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 5 parameters
-
Given
default <T1,T2,T3,T4,T5,T6> void Given(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 6 parameters
-
Given
default <T1,T2,T3,T4,T5,T6,T7> void Given(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 7 parameters
-
Given
default <T1,T2,T3,T4,T5,T6,T7,T8> void Given(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 8 parameters
-
Given
default <T1,T2,T3,T4,T5,T6,T7,T8,T9> void Given(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8T9
- type of argument 9- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 9 parameters
-
Then
default void Then(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
Then
default <T1> void Then(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameters
-
Then
default <T1,T2> void Then(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 2 parameters
-
Then
default <T1,T2,T3> void Then(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 3 parameters
-
Then
default <T1,T2,T3,T4> void Then(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 4 parameters
-
Then
default <T1,T2,T3,T4,T5> void Then(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 5 parameters
-
Then
default <T1,T2,T3,T4,T5,T6> void Then(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 6 parameters
-
Then
default <T1,T2,T3,T4,T5,T6,T7> void Then(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 7 parameters
-
Then
default <T1,T2,T3,T4,T5,T6,T7,T8> void Then(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 8 parameters
-
Then
default <T1,T2,T3,T4,T5,T6,T7,T8,T9> void Then(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8T9
- type of argument 9- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 9 parameters
-
When
default void When(String expression, StepDefinitionBody.A0 body)
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
When
default <T1> void When(String expression, StepDefinitionBody.A1<T1> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameters
-
When
default <T1,T2> void When(String expression, StepDefinitionBody.A2<T1,T2> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 2 parameters
-
When
default <T1,T2,T3> void When(String expression, StepDefinitionBody.A3<T1,T2,T3> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 3 parameters
-
When
default <T1,T2,T3,T4> void When(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 4 parameters
-
When
default <T1,T2,T3,T4,T5> void When(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 5 parameters
-
When
default <T1,T2,T3,T4,T5,T6> void When(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 6 parameters
-
When
default <T1,T2,T3,T4,T5,T6,T7> void When(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 7 parameters
-
When
default <T1,T2,T3,T4,T5,T6,T7,T8> void When(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 8 parameters
-
When
default <T1,T2,T3,T4,T5,T6,T7,T8,T9> void When(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
Creates a new step definition.- Type Parameters:
T1
- type of argument 1T2
- type of argument 2T3
- type of argument 3T4
- type of argument 4T5
- type of argument 5T6
- type of argument 6T7
- type of argument 7T8
- type of argument 8T9
- type of argument 9- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 9 parameters
-
-