Interface En_lol

All Superinterfaces:
LambdaGlue

@API(status=STABLE) public interface En_lol extends LambdaGlue
LOLCAT

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

    • AN

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      default <T1, T2, T3, T4> void BUT(String expression, StepDefinitionBody.A4<T1,T2,T3,T4> body)
      Creates a new step definition.
      Type Parameters:
      T1 - type of argument 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
    • BUT

      default <T1, T2, T3, T4, T5> void BUT(String expression, StepDefinitionBody.A5<T1,T2,T3,T4,T5> body)
      Creates a new step definition.
      Type Parameters:
      T1 - type of argument 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
    • BUT

      default <T1, T2, T3, T4, T5, T6> void BUT(String expression, StepDefinitionBody.A6<T1,T2,T3,T4,T5,T6> body)
      Creates a new step definition.
      Type Parameters:
      T1 - type of argument 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
    • BUT

      default <T1, T2, T3, T4, T5, T6, T7> void BUT(String expression, StepDefinitionBody.A7<T1,T2,T3,T4,T5,T6,T7> body)
      Creates a new step definition.
      Type Parameters:
      T1 - type of argument 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
    • BUT

      default <T1, T2, T3, T4, T5, T6, T7, T8> void BUT(String expression, StepDefinitionBody.A8<T1,T2,T3,T4,T5,T6,T7,T8> body)
      Creates a new step definition.
      Type Parameters:
      T1 - type of argument 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
    • BUT

      default <T1, T2, T3, T4, T5, T6, T7, T8, T9> void BUT(String expression, StepDefinitionBody.A9<T1,T2,T3,T4,T5,T6,T7,T8,T9> body)
      Creates a new step definition.
      Type Parameters:
      T1 - type of argument 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
    • DEN

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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