Package io.cucumber.java8
Interface En
- All Superinterfaces:
LambdaGlue
English
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.
-
Field Summary
Fields inherited from interface io.cucumber.java8.LambdaGlue
DEFAULT_AFTER_ORDER, DEFAULT_BEFORE_ORDER, EMPTY_TAG_EXPRESSION, NO_REPLACEMENT
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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> void And
(String expression, StepDefinitionBody.A2<T1, T2> body) Creates a new step definition.default <T1,
T2, T3> void And
(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> void But
(String expression, StepDefinitionBody.A2<T1, T2> body) Creates a new step definition.default <T1,
T2, T3> void But
(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> void Given
(String expression, StepDefinitionBody.A2<T1, T2> body) Creates a new step definition.default <T1,
T2, T3> void Given
(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> void Then
(String expression, StepDefinitionBody.A2<T1, T2> body) Creates a new step definition.default <T1,
T2, T3> void Then
(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> void When
(String expression, StepDefinitionBody.A2<T1, T2> body) Creates a new step definition.default <T1,
T2, T3> void When
(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 Details
-
And
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
And
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameter
-
And
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
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
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, void AndT3, T4, T5> (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, void AndT3, T4, T5, T6> (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, void AndT3, T4, T5, T6, T7> (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, void AndT3, T4, T5, T6, T7, T8> (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, void AndT3, T4, T5, T6, T7, T8, T9> (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
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
But
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameter
-
But
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
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
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, void ButT3, T4, T5> (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, void ButT3, T4, T5, T6> (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, void ButT3, T4, T5, T6, T7> (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, void ButT3, T4, T5, T6, T7, T8> (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, void ButT3, T4, T5, T6, T7, T8, T9> (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
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
Given
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameter
-
Given
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
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
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, void GivenT3, T4, T5> (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, void GivenT3, T4, T5, T6> (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, void GivenT3, T4, T5, T6, T7> (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, void GivenT3, T4, T5, T6, T7, T8> (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, void GivenT3, T4, T5, T6, T7, T8, T9> (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
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
Then
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameter
-
Then
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
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
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, void ThenT3, T4, T5> (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, void ThenT3, T4, T5, T6> (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, void ThenT3, T4, T5, T6, T7> (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, void ThenT3, T4, T5, T6, T7, T8> (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, void ThenT3, T4, T5, T6, T7, T8, T9> (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
Creates a new step definition.- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with no parameters
-
When
Creates a new step definition.- Type Parameters:
T1
- type of argument 1- Parameters:
expression
- the cucumber expressionbody
- a lambda expression with 1 parameter
-
When
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
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
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, void WhenT3, T4, T5> (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, void WhenT3, T4, T5, T6> (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, void WhenT3, T4, T5, T6, T7> (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, void WhenT3, T4, T5, T6, T7, T8> (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, void WhenT3, T4, T5, T6, T7, T8, T9> (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
-