@API(status=STABLE) public interface LambdaGlue extends GlueBase
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_AFTER_ORDER |
static int |
DEFAULT_BEFORE_ORDER |
static String |
EMPTY_TAG_EXPRESSIONS |
static long |
NO_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
default void |
After(HookBody body)
Defines an after hook.
|
default void |
After(HookNoArgsBody body)
Defines and after hook.
|
default void |
After(int order,
HookBody body)
Defines an after hook.
|
default void |
After(int order,
HookNoArgsBody body)
Defines and after hook.
|
default void |
After(long timeoutMillis,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
After(long timeoutMillis,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
After(String tagExpression,
HookBody body)
Defines an after hook.
|
default void |
After(String tagExpression,
HookNoArgsBody body)
Defines and after hook.
|
default void |
After(String tagExpression,
long timeoutMillis,
int order,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
After(String tagExpression,
long timeoutMillis,
int order,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
AfterStep(HookBody body)
Defines and after step hook.
|
default void |
AfterStep(HookNoArgsBody body)
Defines and after step hook.
|
default void |
AfterStep(int order,
HookBody body)
Defines and after step hook.
|
default void |
AfterStep(int order,
HookNoArgsBody body)
Defines and after step hook.
|
default void |
AfterStep(long timeoutMillis,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
AfterStep(long timeoutMillis,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
AfterStep(String tagExpression,
HookBody body)
Defines and after step hook.
|
default void |
AfterStep(String tagExpression,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
AfterStep(String tagExpression,
long timeoutMillis,
int order,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
AfterStep(String tagExpression,
long timeoutMillis,
int order,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
Before(HookBody body)
Defines an before hook.
|
default void |
Before(HookNoArgsBody body)
Defines an before hook.
|
default void |
Before(int order,
HookBody body)
Defines an before hook.
|
default void |
Before(int order,
HookNoArgsBody body)
Defines an before hook.
|
default void |
Before(long timeoutMillis,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
Before(long timeoutMillis,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
Before(String tagExpression,
HookBody body)
Defines an before hook.
|
default void |
Before(String tagExpression,
HookNoArgsBody body)
Defines an before hook.
|
default void |
Before(String tagExpression,
long timeoutMillis,
int order,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
Before(String tagExpression,
long timeoutMillis,
int order,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
BeforeStep(HookBody body)
Defines an before step hook.
|
default void |
BeforeStep(HookNoArgsBody body)
Defines an before step hook.
|
default void |
BeforeStep(int order,
HookBody body)
Defines an before step hook.
|
default void |
BeforeStep(int order,
HookNoArgsBody body)
Defines an before step hook.
|
default void |
BeforeStep(long timeoutMillis,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
BeforeStep(long timeoutMillis,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
BeforeStep(String tagExpression,
HookBody body)
Defines an before step hook.
|
default void |
BeforeStep(String tagExpression,
HookNoArgsBody body)
Defines an before step hook.
|
default void |
BeforeStep(String tagExpression,
long timeoutMillis,
int order,
HookBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
default void |
BeforeStep(String tagExpression,
long timeoutMillis,
int order,
HookNoArgsBody body)
Deprecated.
use a library based solution instead. E.g. Awaitility
or JUnit 5s Assertions.assertTimeout.
|
static final String EMPTY_TAG_EXPRESSIONS
static final long NO_TIMEOUT
static final int DEFAULT_BEFORE_ORDER
static final int DEFAULT_AFTER_ORDER
default void Before(HookBody body)
body
- lambda to execute, takes Scenario
as an argumentdefault void Before(String tagExpression, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void Before(long timeoutMillis, HookBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to execute, takes Scenario
as an argumentdefault void Before(int order, HookBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void Before(String tagExpression, long timeoutMillis, int order, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argumentdefault void Before(HookNoArgsBody body)
body
- lambda to execute, takes Scenario
as an argumentdefault void Before(String tagExpression, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute@Deprecated default void Before(long timeoutMillis, HookNoArgsBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to executedefault void Before(int order, HookNoArgsBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute@Deprecated default void Before(String tagExpression, long timeoutMillis, int order, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to executedefault void BeforeStep(HookBody body)
body
- lambda to execute, takes Scenario
as an argumentdefault void BeforeStep(String tagExpression, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void BeforeStep(long timeoutMillis, HookBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to execute, takes Scenario
as an argumentdefault void BeforeStep(int order, HookBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void BeforeStep(String tagExpression, long timeoutMillis, int order, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argumentdefault void BeforeStep(HookNoArgsBody body)
body
- lambda to executedefault void BeforeStep(String tagExpression, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute@Deprecated default void BeforeStep(long timeoutMillis, HookNoArgsBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to executedefault void BeforeStep(int order, HookNoArgsBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute@Deprecated default void BeforeStep(String tagExpression, long timeoutMillis, int order, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to executedefault void After(HookBody body)
body
- lambda to execute, takes Scenario
as an argumentdefault void After(String tagExpression, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void After(long timeoutMillis, HookBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to execute, takes Scenario
as an argumentdefault void After(int order, HookBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void After(String tagExpression, long timeoutMillis, int order, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argumentdefault void After(HookNoArgsBody body)
body
- lambda to executedefault void After(String tagExpression, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute@Deprecated default void After(long timeoutMillis, HookNoArgsBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to executedefault void After(int order, HookNoArgsBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute@Deprecated default void After(String tagExpression, long timeoutMillis, int order, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to executedefault void AfterStep(HookBody body)
body
- lambda to execute, takes Scenario
as an argumentdefault void AfterStep(String tagExpression, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void AfterStep(long timeoutMillis, HookBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to execute, takes Scenario
as an argumentdefault void AfterStep(int order, HookBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argument@Deprecated default void AfterStep(String tagExpression, long timeoutMillis, int order, HookBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute, takes Scenario
as an argumentdefault void AfterStep(HookNoArgsBody body)
body
- lambda to execute@Deprecated default void AfterStep(String tagExpression, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedbody
- lambda to execute@Deprecated default void AfterStep(long timeoutMillis, HookNoArgsBody body)
timeoutMillis
- max amount of milliseconds this is allowed to run forbody
- lambda to executedefault void AfterStep(int order, HookNoArgsBody body)
order
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to execute@Deprecated default void AfterStep(String tagExpression, long timeoutMillis, int order, HookNoArgsBody body)
tagExpression
- a tag expression, if the expression applies to the current scenario this hook will be executedtimeoutMillis
- max amount of milliseconds this is allowed to run fororder
- the order in which this hook should run. Higher numbers are run firstbody
- lambda to executeCopyright © 2019. All rights reserved.