cucumber.api.java
Annotation Type Before


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Before


Optional Element Summary
 int order
          The order in which this hook should run.
 long timeout
           
 String[] value
           
 

value

public abstract String[] value
Returns:
a tag expression
Default:
{}

timeout

public abstract long timeout
Returns:
max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
Default:
0L

order

public abstract int order
The order in which this hook should run. Lower numbers are run first. The default order is 10000.

Default:
10000


Copyright © 2013. All Rights Reserved.