Interface Af

  • All Superinterfaces:
    LambdaGlue

    @API(status=STABLE)
    public interface Af
    extends LambdaGlue
    Afrikaans

    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.

    • Method Detail

      • Dan

        default void Dan​(String expression,
                         StepDefinitionBody.A0 body)
        Creates a new step definition.
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with no parameters
      • Dan

        default <T1> void Dan​(String expression,
                              StepDefinitionBody.A1<T1> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 1 parameters
      • Dan

        default <T1,​T2> void Dan​(String expression,
                                       StepDefinitionBody.A2<T1,​T2> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 2 parameters
      • Dan

        default <T1,​T2,​T3> void Dan​(String expression,
                                                StepDefinitionBody.A3<T1,​T2,​T3> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 3 parameters
      • Dan

        default <T1,​T2,​T3,​T4> void Dan​(String expression,
                                                         StepDefinitionBody.A4<T1,​T2,​T3,​T4> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 4 parameters
      • Dan

        default <T1,​T2,​T3,​T4,​T5> void Dan​(String expression,
                                                                  StepDefinitionBody.A5<T1,​T2,​T3,​T4,​T5> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 5 parameters
      • Dan

        default <T1,​T2,​T3,​T4,​T5,​T6> void Dan​(String expression,
                                                                           StepDefinitionBody.A6<T1,​T2,​T3,​T4,​T5,​T6> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 6 parameters
      • Dan

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Dan​(String expression,
                                                                                    StepDefinitionBody.A7<T1,​T2,​T3,​T4,​T5,​T6,​T7> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 7 parameters
      • Dan

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Dan​(String expression,
                                                                                             StepDefinitionBody.A8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 8 parameters
      • Dan

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Dan​(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 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        T9 - type of argument 9
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 9 parameters
      • En

        default void En​(String expression,
                        StepDefinitionBody.A0 body)
        Creates a new step definition.
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with no parameters
      • En

        default <T1> void En​(String expression,
                             StepDefinitionBody.A1<T1> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 1 parameters
      • En

        default <T1,​T2> void En​(String expression,
                                      StepDefinitionBody.A2<T1,​T2> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 2 parameters
      • En

        default <T1,​T2,​T3> void En​(String expression,
                                               StepDefinitionBody.A3<T1,​T2,​T3> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 3 parameters
      • En

        default <T1,​T2,​T3,​T4> void En​(String expression,
                                                        StepDefinitionBody.A4<T1,​T2,​T3,​T4> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 4 parameters
      • En

        default <T1,​T2,​T3,​T4,​T5> void En​(String expression,
                                                                 StepDefinitionBody.A5<T1,​T2,​T3,​T4,​T5> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 5 parameters
      • En

        default <T1,​T2,​T3,​T4,​T5,​T6> void En​(String expression,
                                                                          StepDefinitionBody.A6<T1,​T2,​T3,​T4,​T5,​T6> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 6 parameters
      • En

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void En​(String expression,
                                                                                   StepDefinitionBody.A7<T1,​T2,​T3,​T4,​T5,​T6,​T7> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 7 parameters
      • En

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void En​(String expression,
                                                                                            StepDefinitionBody.A8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 8 parameters
      • En

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void En​(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 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        T9 - type of argument 9
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 9 parameters
      • Gegewe

        default void Gegewe​(String expression,
                            StepDefinitionBody.A0 body)
        Creates a new step definition.
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with no parameters
      • Gegewe

        default <T1> void Gegewe​(String expression,
                                 StepDefinitionBody.A1<T1> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 1 parameters
      • Gegewe

        default <T1,​T2> void Gegewe​(String expression,
                                          StepDefinitionBody.A2<T1,​T2> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 2 parameters
      • Gegewe

        default <T1,​T2,​T3> void Gegewe​(String expression,
                                                   StepDefinitionBody.A3<T1,​T2,​T3> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 3 parameters
      • Gegewe

        default <T1,​T2,​T3,​T4> void Gegewe​(String expression,
                                                            StepDefinitionBody.A4<T1,​T2,​T3,​T4> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 4 parameters
      • Gegewe

        default <T1,​T2,​T3,​T4,​T5> void Gegewe​(String expression,
                                                                     StepDefinitionBody.A5<T1,​T2,​T3,​T4,​T5> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 5 parameters
      • Gegewe

        default <T1,​T2,​T3,​T4,​T5,​T6> void Gegewe​(String expression,
                                                                              StepDefinitionBody.A6<T1,​T2,​T3,​T4,​T5,​T6> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 6 parameters
      • Gegewe

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Gegewe​(String expression,
                                                                                       StepDefinitionBody.A7<T1,​T2,​T3,​T4,​T5,​T6,​T7> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 7 parameters
      • Gegewe

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Gegewe​(String expression,
                                                                                                StepDefinitionBody.A8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 8 parameters
      • Gegewe

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Gegewe​(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 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        T9 - type of argument 9
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 9 parameters
      • Maar

        default void Maar​(String expression,
                          StepDefinitionBody.A0 body)
        Creates a new step definition.
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with no parameters
      • Maar

        default <T1> void Maar​(String expression,
                               StepDefinitionBody.A1<T1> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 1 parameters
      • Maar

        default <T1,​T2> void Maar​(String expression,
                                        StepDefinitionBody.A2<T1,​T2> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 2 parameters
      • Maar

        default <T1,​T2,​T3> void Maar​(String expression,
                                                 StepDefinitionBody.A3<T1,​T2,​T3> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 3 parameters
      • Maar

        default <T1,​T2,​T3,​T4> void Maar​(String expression,
                                                          StepDefinitionBody.A4<T1,​T2,​T3,​T4> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 4 parameters
      • Maar

        default <T1,​T2,​T3,​T4,​T5> void Maar​(String expression,
                                                                   StepDefinitionBody.A5<T1,​T2,​T3,​T4,​T5> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 5 parameters
      • Maar

        default <T1,​T2,​T3,​T4,​T5,​T6> void Maar​(String expression,
                                                                            StepDefinitionBody.A6<T1,​T2,​T3,​T4,​T5,​T6> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 6 parameters
      • Maar

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Maar​(String expression,
                                                                                     StepDefinitionBody.A7<T1,​T2,​T3,​T4,​T5,​T6,​T7> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 7 parameters
      • Maar

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Maar​(String expression,
                                                                                              StepDefinitionBody.A8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 8 parameters
      • Maar

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Maar​(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 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        T9 - type of argument 9
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 9 parameters
      • Wanneer

        default void Wanneer​(String expression,
                             StepDefinitionBody.A0 body)
        Creates a new step definition.
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with no parameters
      • Wanneer

        default <T1> void Wanneer​(String expression,
                                  StepDefinitionBody.A1<T1> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 1 parameters
      • Wanneer

        default <T1,​T2> void Wanneer​(String expression,
                                           StepDefinitionBody.A2<T1,​T2> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 2 parameters
      • Wanneer

        default <T1,​T2,​T3> void Wanneer​(String expression,
                                                    StepDefinitionBody.A3<T1,​T2,​T3> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 3 parameters
      • Wanneer

        default <T1,​T2,​T3,​T4> void Wanneer​(String expression,
                                                             StepDefinitionBody.A4<T1,​T2,​T3,​T4> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 4 parameters
      • Wanneer

        default <T1,​T2,​T3,​T4,​T5> void Wanneer​(String expression,
                                                                      StepDefinitionBody.A5<T1,​T2,​T3,​T4,​T5> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 5 parameters
      • Wanneer

        default <T1,​T2,​T3,​T4,​T5,​T6> void Wanneer​(String expression,
                                                                               StepDefinitionBody.A6<T1,​T2,​T3,​T4,​T5,​T6> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 6 parameters
      • Wanneer

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Wanneer​(String expression,
                                                                                        StepDefinitionBody.A7<T1,​T2,​T3,​T4,​T5,​T6,​T7> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 7 parameters
      • Wanneer

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Wanneer​(String expression,
                                                                                                 StepDefinitionBody.A8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> body)
        Creates a new step definition.
        Type Parameters:
        T1 - type of argument 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 8 parameters
      • Wanneer

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Wanneer​(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 1
        T2 - type of argument 2
        T3 - type of argument 3
        T4 - type of argument 4
        T5 - type of argument 5
        T6 - type of argument 6
        T7 - type of argument 7
        T8 - type of argument 8
        T9 - type of argument 9
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with 9 parameters