Interface Bg

  • All Superinterfaces:
    LambdaGlue

    @API(status=STABLE)
    public interface Bg
    extends LambdaGlue
    Bulgarian - български

    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

      • Дадено

        default void Дадено​(String expression,
                            StepDefinitionBody.A0 body)
        Creates a new step definition.
        Parameters:
        expression - the cucumber expression
        body - a lambda expression with no parameters
      • Дадено

        default <T1> void Дадено​(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
      • Дадено

        default <T1,​T2> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3,​T4> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3,​T4,​T5> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3,​T4,​T5,​T6> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Дадено​(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
      • Дадено

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Дадено​(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
      • И

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

        default <T1> void И​(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
      • И

        default <T1,​T2> void И​(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
      • И

        default <T1,​T2,​T3> void И​(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
      • И

        default <T1,​T2,​T3,​T4> void И​(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
      • И

        default <T1,​T2,​T3,​T4,​T5> void И​(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
      • И

        default <T1,​T2,​T3,​T4,​T5,​T6> void И​(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
      • И

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void И​(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
      • И

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void И​(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
      • И

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void И​(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
      • Когато

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

        default <T1> void Когато​(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
      • Когато

        default <T1,​T2> void Когато​(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
      • Когато

        default <T1,​T2,​T3> void Когато​(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
      • Когато

        default <T1,​T2,​T3,​T4> void Когато​(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
      • Когато

        default <T1,​T2,​T3,​T4,​T5> void Когато​(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
      • Когато

        default <T1,​T2,​T3,​T4,​T5,​T6> void Когато​(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
      • Когато

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Когато​(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
      • Когато

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Когато​(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
      • Когато

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Когато​(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
      • Но

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

        default <T1> void Но​(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
      • Но

        default <T1,​T2> void Но​(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
      • Но

        default <T1,​T2,​T3> void Но​(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
      • Но

        default <T1,​T2,​T3,​T4> void Но​(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
      • Но

        default <T1,​T2,​T3,​T4,​T5> void Но​(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
      • Но

        default <T1,​T2,​T3,​T4,​T5,​T6> void Но​(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
      • Но

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void Но​(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
      • Но

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void Но​(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
      • Но

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void Но​(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
      • То

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

        default <T1> void То​(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
      • То

        default <T1,​T2> void То​(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
      • То

        default <T1,​T2,​T3> void То​(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
      • То

        default <T1,​T2,​T3,​T4> void То​(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
      • То

        default <T1,​T2,​T3,​T4,​T5> void То​(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
      • То

        default <T1,​T2,​T3,​T4,​T5,​T6> void То​(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
      • То

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7> void То​(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
      • То

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8> void То​(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
      • То

        default <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9> void То​(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