Package org.opt4j.core.config
Class BooleanRequirement
java.lang.Object
org.opt4j.core.config.BooleanRequirement
- All Implemented Interfaces:
Requirement
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanRequirement(Property property, boolean value) Constructs aBooleanRequirement. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property of the requirement.booleanReturnstrueif the requirement is fulfilled.
-
Constructor Details
-
BooleanRequirement
Constructs aBooleanRequirement.- Parameters:
property- the monitored propertyvalue- the boolean value
-
-
Method Details
-
getProperty
Description copied from interface:RequirementReturns the property of the requirement.- Specified by:
getPropertyin interfaceRequirement- Returns:
- the property of the requirement
-
isFulfilled
Description copied from interface:RequirementReturnstrueif the requirement is fulfilled.- Specified by:
isFulfilledin interfaceRequirement- Returns:
trueif the requirement is fulfilled
-