Package io.microsphere.annotation
Annotation Type ConfigurationProperty
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ConfigurationPropertyThe metadata annotation used to declare on the Java field whose modifiers usually are static and final for the configuration property.The module that named "microsphere-annotation-processor" generates the metadata resource in the classpath.
- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringAPPLICATION_SOURCEApplicationstatic java.lang.StringENVIRONMENT_VARIABLES_SOURCEOS Environment Variablesstatic java.lang.StringSYSTEM_PROPERTIES_SOURCEJDK System Properties
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdefaultValueThe default value of the configuration property.java.lang.StringdescriptionThe description of the configuration property.java.lang.StringnameThe name of the configuration property.booleanrequiredWhether the configuration property is required.java.lang.String[]sourceThe source of the configuration property.java.lang.Class<?>typeThe type of the configuration property.
-