|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.config.BooleanRequirement
public class BooleanRequirement
The BooleanRequirement is a Requirement that depends on a
boolean valued Property.
| Constructor Summary | |
|---|---|
BooleanRequirement(Property property,
boolean value)
Constructs a BooleanRequirement. |
|
| 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 BooleanRequirement(Property property,
boolean value)
BooleanRequirement.
property - the monitored propertyvalue - the boolean value| 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 | ||||||||