Package org.opt4j.config.annotations
Annotation Interface Required
The
Required
annotation defines dependencies between the properties.-
Optional Element Summary
-
Element Details
-
property
String propertyThe addressed property. This property has to be anenum
type.- Returns:
- the required property
- Default:
- ""
-
elements
String[] elementsA list of the elements that are allowed to activate the current property.- Returns:
- allowed elements
- Default:
- {}
-
value
boolean valueThe boolean value that is necessary to activate the current property.- Returns:
- boolean value
- Default:
- true
-