Annotation Type Required
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface Required
TheRequired
annotation defines dependencies between the properties.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
elements
A list of the elements that are allowed to activate the current property.java.lang.String
property
The addressed property.boolean
value
The boolean value that is necessary to activate the current property.
-