Package org.opt4j.config
Interface Requirement
-
- All Known Implementing Classes:
BooleanRequirement
,EnumRequirement
public interface Requirement
TheRequirement
indicates if aProperty
is active or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Property
getProperty()
Returns the property of the requirement.boolean
isFulfilled()
Returnstrue
if the requirement is fulfilled.
-
-
-
Method Detail
-
isFulfilled
boolean isFulfilled()
Returnstrue
if the requirement is fulfilled.- Returns:
true
if the requirement is fulfilled
-
getProperty
Property getProperty()
Returns the property of the requirement.- Returns:
- the property of the requirement
-
-