Interface No

All Superinterfaces:
LambdaGlue

@API(status=STABLE) public interface No extends LambdaGlue
Norwegian - norsk

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.

  • Method Details

    • Gitt

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

      default <T1> void Gitt(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 parameter
    • Gitt

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

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

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

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

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

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

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

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

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

      default <T1> void Men(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 parameter
    • Men

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

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

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

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

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

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

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

      default <T1, T2, T3, T4, T5, T6, T7, T8, T9> void Men(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
    • Når

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

      default <T1> void Når(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 parameter
    • Når

      default <T1, T2> void Når(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
    • Når

      default <T1, T2, T3> void Når(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
    • Når

      default <T1, T2, T3, T4> void Når(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
    • Når

      default <T1, T2, T3, T4, T5> void Når(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
    • Når

      default <T1, T2, T3, T4, T5, T6> void Når(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
    • Når

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

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

      default <T1, T2, T3, T4, T5, T6, T7, T8, T9> void Når(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
    • Og

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

      default <T1> void Og(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 parameter
    • Og

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

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

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

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

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

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

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

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