Package org.jbehave.core.annotations
Annotation Interface AfterScenario
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Lifecycle hooks with the higher order will be executed lastSignals that the annotated method should be invoked only upon given outcomeSignals that the annotated method should be invoked only upon given type
-
Element Details
-
uponOutcome
AfterScenario.Outcome uponOutcomeSignals that the annotated method should be invoked only upon given outcome- Returns:
- An Outcome upon which the method should be invoked
- Default:
- ANY
-
uponType
ScenarioType uponTypeSignals that the annotated method should be invoked only upon given type- Returns:
- A ScenarioType upon which the method should be invoked
- Default:
- ANY
-
order
int orderLifecycle hooks with the higher order will be executed last- Returns:
- order value
- Default:
- 0
-