
public class OneMustBeSetGlobalConstraint extends Object implements GlobalParameterConstraint
Parameter) has to be
 set.| Modifier and Type | Field and Description | 
|---|---|
private List<Parameter<?>> | 
parameters
List of parameters to be checked. 
 | 
| Constructor and Description | 
|---|
OneMustBeSetGlobalConstraint(List<Parameter<?>> params)
Creates a One-Must-Be-Set global parameter constraint. 
 | 
OneMustBeSetGlobalConstraint(Parameter<?>... params)
Creates a One-Must-Be-Set global parameter constraint. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()
Returns a description of this global constraint. 
 | 
void | 
test()
Checks if at least one parameter value of the list of parameters specified
 is set. 
 | 
public OneMustBeSetGlobalConstraint(List<Parameter<?>> params)
params - list of parameterspublic OneMustBeSetGlobalConstraint(Parameter<?>... params)
params - list of parameterspublic void test()
          throws ParameterException
test in interface GlobalParameterConstraintParameterException - if the parameters don't satisfy the parameter constraint.public String getDescription()
GlobalParameterConstraintgetDescription in interface GlobalParameterConstraint