Tag expression. If the expression applies to the current
scenario this hook will be executed.
Returns:
a tag expression
Default:
""
timeout
public abstract long timeout
Duration in milliseconds this hook is allowed to run. Cucumber
will mark the hook as failed when exceeded.
When the maximum duration is exceeded the thread will
receive an interrupt. Note: if the interrupt is ignored
Cucumber will wait for the this hook to finish.
Returns:
timeout in milliseconds. 0 (default) means no restriction.
Default:
0L
order
public abstract int order
Returns:
the order in which this hook should run. Lower numbers are run first.
The default order is 10000.