Annotation Type AfterStage
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface AfterStageMarks methods to be executed after a stage has been executed. This essentially means that the method is executed either on next call of a step method of the next stage, or, for the last stage, after the scenario (but before any
If marked as repeatable, the
@AfterStagemethod will execute every time a stage is reused; if not marked as repeatable,it is guaranteed that the
@AfterStagemethod is invoked only once.
@AfterStagecan be used to finish builders, for example.
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
repeatablemarks an after stage method for repeated execution.