Modifier and Type | Interface and Description |
---|---|
interface |
XMLConstraint
Constraints implementing this interface have - beyond the
Constraint interface - the capability
to be created through XML configuration files. |
Modifier and Type | Class and Description |
---|---|
class |
ExclusiveConstraint
A constraint combining one or more options such that just one of them
can occur.
|
class |
ValueConstraint
A constraint for options taking a value.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Constraint> |
Constrainable.getConstraints()
Access all known constraints
|
java.util.List<Constraint> |
OptionData.getConstraints()
Get the constraints defined for this option
|
java.util.List<Constraint> |
OptionSet.getConstraints()
Get the constraints defined for this option set
|
Modifier and Type | Method and Description |
---|---|
void |
Constrainable.addConstraint(Constraint constraint)
Add a constraint to this instance.
|
void |
OptionData.addConstraint(Constraint constraint)
Add a constraint for this option
|
void |
OptionSet.addConstraint(Constraint constraint)
Add a constraint for this option set
|