@Rules

Target: Any attribute annotated with @Parameter.

Description: Allows a set of inner Rules to be associated with a single parameter.

JavaDoc: Click here

Attributes: n/a

Example:

public class aStage {

 @Parameter(defaultValue="30")
 @Rules({
     @Rule(ruleID="exclusive", parameters="param1,param2"),
     @Rule(ruleID="exclusive", parameters="param1,param3")})
 Integer myIntegerParam;
 ...
}

See also:

Back to annotation reference