/[projects]/WebConfig/src/dk/thoerup/webconfig/ConfigVariable.java
ViewVC logotype

Diff of /WebConfig/src/dk/thoerup/webconfig/ConfigVariable.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1345 by torben, Tue Apr 19 20:23:29 2011 UTC revision 1346 by torben, Wed Apr 20 17:16:28 2011 UTC
# Line 10  import java.lang.annotation.Target; Line 10  import java.lang.annotation.Target;
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  }  }

Legend:
Removed from v.1345  
changed lines
  Added in v.1346

  ViewVC Help
Powered by ViewVC 1.1.20