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
 

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


Copyright © 2003-2011. All Rights Reserved.