@InjectMessages

Target: Attribute of a POJO annotated with @StageDefinition.

Description: Injects the messages on the object. These will be available on execution time so the developer can access them on different parts of the stage control flow.

Remarks: The attribute must be of type Map<String,String>.

JavaDoc: Click here

Attributes: N/A

Example:

public class aStage {
    
    @InjectMessages
    Map<String,String> myMessages;
    
 ...    
}

See also:

Back to annotation reference