Interface Th

All Superinterfaces:
LambdaGlue

@API(status=STABLE) public interface Th extends LambdaGlue
Thai - ไทย

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

    • กำหนดให้

      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
    • ดังนั้น

      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
    • เมื่อ

      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
    • แต่

      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
    • และ

      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