|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Target(value={FIELD,METHOD,TYPE})
@Retention(value=RUNTIME)
@Inherited
public @interface VariableAnnotation for marking types, fields and methods that are configurable. You'd better be sure that you form a tree structure with your variables, because I'm not going to check for cycles when I walk the graph. You have been warned.
Types:
public
Primitive, enum and String fields:
public
Variable type fields:
public
Variable annotation, or the field name if both are left
blank
Encapsulated fields: Use a method to get and set the values - allows validation of input
public
Variable
annotation name value
Variable annotation. If both of those are blank, the
methods names will be taken, they won't match up, and it won't work
Action Methods: Invoked when the configuration is applied
public
void return type and no arguments
Variable name in the class
| Optional Element Summary | |
|---|---|
java.lang.String |
value
The name of the resulting type or variable. |
public abstract java.lang.String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||