|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.config.EnumRequirement
public class EnumRequirement
The EnumRequirement is a Requirement that depends on a
enumeration valued Property.
| Constructor Summary | |
|---|---|
EnumRequirement(Property property,
java.util.Collection<java.lang.Object> elements)
Constructs a EnumRequirement. |
|
| Method Summary | |
|---|---|
Property |
getProperty()
Returns the property of the requirement. |
boolean |
isFulfilled()
Returns true if the requirement is fulfilled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumRequirement(Property property,
java.util.Collection<java.lang.Object> elements)
EnumRequirement.
property - the monitored propertyelements - the allowed elements| Method Detail |
|---|
public Property getProperty()
Requirement
getProperty in interface Requirementpublic boolean isFulfilled()
Requirementtrue if the requirement is fulfilled.
isFulfilled in interface Requirementtrue if the requirement is fulfilled
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||