cucumber.api.java.ca.Donada Maven / Gradle / Ivy
package cucumber.api.java.ca;
import cucumber.runtime.java.StepDefAnnotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.Documented;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@StepDefAnnotation
@Documented
public @interface Donada {
/**
* @return a regular expression
*/
String value();
/**
* @return max amount of milliseconds this is allowed to run for. 0 (default) means no restriction.
*/
long timeout() default 0;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy