Interface Em

All Superinterfaces:
LambdaGlue

@API(status=STABLE) public interface Em extends LambdaGlue
Emoji - 😀

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

    • ClapperBoard

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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