10 |
@Target(ElementType.FIELD) |
@Target(ElementType.FIELD) |
11 |
public @interface ConfigVariable { |
public @interface ConfigVariable { |
12 |
String description() default ""; |
String description() default ""; |
13 |
boolean readonly() default false; |
|
14 |
|
//controls whether this is writable from ConfigServlet web UI |
15 |
|
boolean readonly() default false; |
16 |
|
|
17 |
|
//Property name - if the field has another name in the config source |
18 |
|
//eg. the annotated variable is called cacheTimeout but in the config file it's called cache_timeout |
19 |
|
String propertyname() default ""; |
20 |
} |
} |