@InjectParameter

Target: Attribute of a POJO annotated with @StageDefinition.

Description: Injects a parameter of an upper-level hierarchical entity. Allows a stage to access a parent parameter as if it was one of itself. The parameter is maintained in it's original scope, that is, if a Service is used all other stages that refer to the same parameter will see the all changes to it.

JavaDoc: Click here

Attributes:

Name Description Data type Required Default value
id Parameter ID. String No Lower-case version of the attribute name.

Example:

public class aStage {
    
    @InjectParameter(id="my_param")
    Integer myParameter;
    
    ...    
}

See also:

Back to annotation reference