Interface LambdaGlue
- All Known Subinterfaces:
Af,Am,Amh,An,Ar,Ast,Az,Be,Bg,Bm,Bs,Ca,Cs,Cy_gb,Da,De,El,Em,En,En_au,En_lol,En_old,En_pirate,En_scouse,En_tx,Eo,Es,Et,Fa,Fi,Fr,Ga,Gj,Gl,He,Hi,Hr,Ht,Hu,Id,Is,It,Ja,Jv,Ka,Kn,Ko,Lt,Lu,Lv,Mk_cyrl,Mk_latn,Ml,Mn,Mr,Ne,Nl,No,Pa,Pl,Pt,Ro,Ru,Sk,Sl,Sr_cyrl,Sr_latn,Sv,Ta,Te,Th,Tlh,Tr,Tt,Uk,Ur,Uz,Vi,Zh_cn,Zh_tw
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidDefines an after hook.default voidAfter(int order, HookNoArgsBody body) Defines and after hook.default voidDefines an after hook.default voidAfter(HookNoArgsBody body) Defines and after hook.default voidDefines and after hook.default voidAfter(String tagExpression, int order, HookNoArgsBody body) Defines and after hook.default voidDefines an after hook.default voidAfter(String tagExpression, HookNoArgsBody body) Defines and after hook.default voidDefines and after step hook.default voidAfterStep(int order, HookNoArgsBody body) Defines and after step hook.default voidDefines and after step hook.default voidAfterStep(HookNoArgsBody body) Defines and after step hook.default voidDefines and after step hook.default voidAfterStep(String tagExpression, int order, HookNoArgsBody body) Defines and after step hook.default voidDefines and after step hook.default voidAfterStep(String tagExpression, HookNoArgsBody body) Defines and after step hook.default voidDefines an before hook.default voidBefore(int order, HookNoArgsBody body) Defines an before hook.default voidDefines an before hook.default voidBefore(HookNoArgsBody body) Defines an before hook.default voidDefines an before hook.default voidBefore(String tagExpression, int order, HookNoArgsBody body) Defines an before hook.default voidDefines an before hook.default voidBefore(String tagExpression, HookNoArgsBody body) Defines an before hook.default voidBeforeStep(int order, HookBody body) Defines an before step hook.default voidBeforeStep(int order, HookNoArgsBody body) Defines an before step hook.default voidBeforeStep(HookBody body) Defines an before step hook.default voidBeforeStep(HookNoArgsBody body) Defines an before step hook.default voidBeforeStep(String tagExpression, int order, HookBody body) Defines an before step hook.default voidBeforeStep(String tagExpression, int order, HookNoArgsBody body) Defines an before step hook.default voidBeforeStep(String tagExpression, HookBody body) Defines an before step hook.default voidBeforeStep(String tagExpression, HookNoArgsBody body) Defines an before step hook.default <T> voidDataTableType(DataTableCellDefinitionBody<T> body) Register a data table typedefault <T> voidDataTableType(DataTableDefinitionBody<T> body) Register a data table typedefault <T> voidRegister a data table type.default <T> voidDataTableType(DataTableRowDefinitionBody<T> body) Register a data table typedefault <T> voidDataTableType(String replaceWithEmptyString, DataTableCellDefinitionBody<T> body) Register a data table type with a replacement.default <T> voidDataTableType(String replaceWithEmptyString, DataTableDefinitionBody<T> body) Register a data table type with a replacement.default <T> voidDataTableType(String replaceWithEmptyString, DataTableEntryDefinitionBody<T> body) Register a data table type with a replacement.default <T> voidDataTableType(String replaceWithEmptyString, DataTableRowDefinitionBody<T> body) Register a data table type with a replacement.default voidDefaultDataTableCellTransformer(DefaultDataTableCellTransformerBody definitionBody) Register default data table cell transformer.default <T> voidDefaultDataTableCellTransformer(String replaceWithEmptyString, DefaultDataTableCellTransformerBody definitionBody) Register default data table cell transformer with a replacement.default voidDefaultDataTableEntryTransformer(DefaultDataTableEntryTransformerBody definitionBody) Register default data table entry transformer.default <T> voidDefaultDataTableEntryTransformer(String replaceWithEmptyString, DefaultDataTableEntryTransformerBody definitionBody) Register default data table cell transformer with a replacement.default voidDefaultParameterTransformer(DefaultParameterTransformerBody definitionBody) Register default parameter type transformer.default <T> voidDocStringType(String contentType, DocStringDefinitionBody<T> body) Register doc string type.default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A1<R> definitionBody) Register parameter type.default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A2<R> definitionBody) Register parameter type.default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A3<R> definitionBody) default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A4<R> definitionBody) default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A5<R> definitionBody) default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A6<R> definitionBody) default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A7<R> definitionBody) default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A8<R> definitionBody) default <R> voidParameterType(String name, String regex, ParameterDefinitionBody.A9<R> definitionBody)
-
Field Details
-
NO_REPLACEMENT
-
EMPTY_TAG_EXPRESSION
- See Also:
-
DEFAULT_BEFORE_ORDER
static final int DEFAULT_BEFORE_ORDER- See Also:
-
DEFAULT_AFTER_ORDER
static final int DEFAULT_AFTER_ORDER- See Also:
-
-
Method Details
-
Before
Defines an before hook.- Parameters:
body- lambda to execute, takesScenarioas an argument
-
Before
Defines an before hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute, takesScenarioas an argument
-
Before
Defines an before hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
Before
Defines an before hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
Before
Defines an before hook.- Parameters:
body- lambda to execute, takesScenarioas an argument
-
Before
Defines an before hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute
-
Before
Defines an before hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
Before
Defines an before hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
BeforeStep
Defines an before step hook.- Parameters:
body- lambda to execute, takesScenarioas an argument
-
BeforeStep
Defines an before step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute, takesScenarioas an argument
-
BeforeStep
Defines an before step hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
BeforeStep
Defines an before step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
BeforeStep
Defines an before step hook.- Parameters:
body- lambda to execute
-
BeforeStep
Defines an before step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute
-
BeforeStep
Defines an before step hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
BeforeStep
Defines an before step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
After
Defines an after hook.- Parameters:
body- lambda to execute, takesScenarioas an argument
-
After
Defines an after hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute, takesScenarioas an argument
-
After
Defines an after hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
After
Defines and after hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
After
Defines and after hook.- Parameters:
body- lambda to execute
-
After
Defines and after hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute
-
After
Defines and after hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
After
Defines and after hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
AfterStep
Defines and after step hook.- Parameters:
body- lambda to execute, takesScenarioas an argument
-
AfterStep
Defines and after step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute, takesScenarioas an argument
-
AfterStep
Defines and after step hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
AfterStep
Defines and after step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute, takesScenarioas an argument
-
AfterStep
Defines and after step hook.- Parameters:
body- lambda to execute
-
AfterStep
Defines and after step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedbody- lambda to execute
-
AfterStep
Defines and after step hook.- Parameters:
order- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
AfterStep
Defines and after step hook.- Parameters:
tagExpression- a tag expression, if the expression applies to the current scenario this hook will be executedorder- the order in which this hook should run. Higher numbers are run firstbody- lambda to execute
-
DocStringType
Register doc string type.- Parameters:
contentType- Name of the content type.body- a function that creates an instance oftypefrom the doc string- See Also:
-
DocStringType
-
DataTableType
Register a data table type.- Type Parameters:
T- the data table type- Parameters:
body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type with a replacement.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
- Type Parameters:
T- the data table type- Parameters:
replaceWithEmptyString- a string that will be replaced with an empty string.body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type- Type Parameters:
T- the data table type- Parameters:
body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type with a replacement.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
- Type Parameters:
T- the data table type- Parameters:
replaceWithEmptyString- a string that will be replaced with an empty string.body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type- Type Parameters:
T- the data table type- Parameters:
body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type with a replacement.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
- Type Parameters:
T- the data table type- Parameters:
replaceWithEmptyString- a string that will be replaced with an empty string.body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type- Type Parameters:
T- the data table type- Parameters:
body- a function that creates an instance oftypefrom the data table
-
DataTableType
Register a data table type with a replacement.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
- Type Parameters:
T- the data table type- Parameters:
replaceWithEmptyString- a string that will be replaced with an empty string.body- a function that creates an instance oftypefrom the data table
-
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A1<R> definitionBody) Register parameter type.- Type Parameters:
R- the parameter typeParameterType.getType()- Parameters:
name- used as the type name in typed expressionsParameterType.getName()regex- expression to matchdefinitionBody- convertsStringargument to the target parameter type- See Also:
-
ParameterType- Cucumber Expressions
-
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A2<R> definitionBody) Register parameter type.- Type Parameters:
R- the parameter type.ParameterType.getType()- Parameters:
name- used as the type name in typed expressions.ParameterType.getName()regex- expression to match. If the expression includes capture groups their captured strings will be provided as individual arguments.definitionBody- convertsStringarguments to the target parameter type- See Also:
-
ParameterType- Cucumber Expressions
-
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A3<R> definitionBody) -
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A4<R> definitionBody) -
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A5<R> definitionBody) -
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A6<R> definitionBody) -
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A7<R> definitionBody) -
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A8<R> definitionBody) -
ParameterType
default <R> void ParameterType(String name, String regex, ParameterDefinitionBody.A9<R> definitionBody) -
DefaultParameterTransformer
Register default parameter type transformer.- Parameters:
definitionBody- convertsStringargument to an instance of theTypeargument
-
DefaultDataTableCellTransformer
Register default data table cell transformer.- Parameters:
definitionBody- convertsStringargument to an instance of theTypeargument
-
DefaultDataTableCellTransformer
default <T> void DefaultDataTableCellTransformer(String replaceWithEmptyString, DefaultDataTableCellTransformerBody definitionBody) Register default data table cell transformer with a replacement.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings. *
- Parameters:
replaceWithEmptyString- a string that will be replaced with an empty string.definitionBody- convertsStringargument to an instance of theTypeargument
-
DefaultDataTableEntryTransformer
Register default data table entry transformer.- Parameters:
definitionBody- convertsMap<String,String>argument to an instance of theTypeargument
-
DefaultDataTableEntryTransformer
default <T> void DefaultDataTableEntryTransformer(String replaceWithEmptyString, DefaultDataTableEntryTransformerBody definitionBody) Register default data table cell transformer with a replacement.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
- Parameters:
replaceWithEmptyString- a string that will be replaced with an empty string.definitionBody- convertsMap<String,String>argument to an instance of theTypeargument
-