@Stage

Target: Attribute of a POJO annotated with @StageDefinition.

Description: Injects another stage on the annotated stage. Used for inspection or redirection purposes.

Remarks: The attribute must be of type IStage.

JavaDoc: Click here

Attributes:

Name Description Data type Required Default value
value The ID of the stage to inject. String Yes -

Example:

public class aStage {

 @Stage("otherstage")
 IStage stageToRedirect;

  ...
}

See also:

Back to annotation reference