blob: e652ad7441d46c96a9a4422a5a87b740017179ab [file] [log] [blame]
Stuart McCullochbb014372012-06-07 21:57:32 +00001package aQute.configurable;
2
3import java.lang.annotation.*;
4
Stuart McCulloch2286f232012-06-15 13:27:53 +00005@Target(ElementType.METHOD)
6@Retention(RetentionPolicy.RUNTIME)
Stuart McCullochbb014372012-06-07 21:57:32 +00007public @interface Config {
Stuart McCulloch2286f232012-06-15 13:27:53 +00008 String NULL = "<<NULL>>";
9
Stuart McCullochbb014372012-06-07 21:57:32 +000010 boolean required() default false;
Stuart McCulloch2286f232012-06-15 13:27:53 +000011
Stuart McCullochbb014372012-06-07 21:57:32 +000012 String description() default "";
Stuart McCulloch2286f232012-06-15 13:27:53 +000013
Stuart McCullochbb014372012-06-07 21:57:32 +000014 String deflt() default NULL;
Stuart McCulloch2286f232012-06-15 13:27:53 +000015
Stuart McCullochbb014372012-06-07 21:57:32 +000016 String id() default NULL;
17}