UNIMPLEMENTED FEATURE! Check this out in the next release.
Target: Class annotated with @ValidatorDefinition.
Description: Associates a set of parameter IDs to a given validator. A parameter whose ID is in this list will be automatically binded to the current validator.
JavaDoc: Click here
Attributes:
| Name | Description | Data type | Required | Default value |
| value | Comma-separated list of parameter IDs. | String | Yes | - |
Example:
@BindParameterIDs("a_param,aparam,_a_param,_aparam")
@ValidatorDefinition
public class AParamValidator {
...
}
@StageDefinition(name="some stage", service="aService")
public class AStage {
// The following parameter will be auto-binded to AParamValidator
@Parameter
String aParam;
...
}
See also: