Annotation Type AfterScenario

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int order
      Lifecycle hooks with the higher order will be executed last
      AfterScenario.Outcome uponOutcome
      Signals that the annotated method should be invoked only upon given outcome
      ScenarioType uponType
      Signals that the annotated method should be invoked only upon given type
    • Element Detail

      • uponOutcome

        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

        ScenarioType uponType
        Signals that the annotated method should be invoked only upon given type
        Returns:
        A ScenarioType upon which the method should be invoked
        Default:
        org.jbehave.core.annotations.ScenarioType.ANY
      • order

        int order
        Lifecycle hooks with the higher order will be executed last
        Returns:
        order value
        Default:
        0