org.jbehave.core.annotations
Annotation Type AfterScenario


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


Optional Element Summary
 AfterScenario.Outcome uponOutcome
          Signals that the annotated method should be invoked only upon given outcome
 ScenarioType uponType
          Signals that the annoated method should be invoked only upon given type
 

uponOutcome

public abstract AfterScenario.Outcome uponOutcome
Signals that the annotated method should be invoked only upon given outcome

Returns:
An Outcome upon which the method should be invoked
Default:
org.jbehave.core.annotations.AfterScenario.Outcome.ANY

uponType

public abstract ScenarioType uponType
Signals that the annoated method should be invoked only upon given type

Returns:
A ScenarioType upon which the method should be invoked
Default:
org.jbehave.core.annotations.ScenarioType.NORMAL


Copyright © 2003-2012. All Rights Reserved.