All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.api.java.AfterStep Maven / Gradle / Ivy

There is a newer version: 7.18.1
Show newest version
package cucumber.api.java;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @deprecated use {@link io.cucumber.java.AfterStep} instead.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Deprecated
public @interface AfterStep {
    /**
     * @return a tag expression
     */
    String[] value() default {};

    /**
     * @return max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
     */
    long timeout() default 0;

    /**
     * @return the order in which this hook should run. Higher numbers are run first.
     * The default order is 10000.
     */
    int order() default 10000;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy