package org.jbehave.core.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Documented public @interface BeforeScenario { /** * Signals that the annotated method should be invoked only upon given type * * @return A ScenarioType upon which the method should be invoked */ ScenarioType uponType() default ScenarioType.NORMAL; }