Package io.microsphere.annotation
Annotation Type ConfigurationProperty
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ConfigurationProperty
The 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
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
defaultValue
The default value of the configuration property.java.lang.String
description
The description of the configuration property.java.lang.String
name
The name of the configuration property.boolean
required
Whether the configuration property is required.java.lang.Class<?>
type
The type of the configuration property.
-