|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface ConfigurationProperties
Annotation for externalized configuration. Add this to a class definition if you want to bind and validate some external Properties (e.g. from a .properties file).
ConfigurationPropertiesBindingPostProcessor| Optional Element Summary | |
|---|---|
boolean |
ignoreInvalidFields
Flag to indicate that when binding to this object invalid fields should be ignored. |
boolean |
ignoreUnknownFields
Flag to indicate that when binding to this object unknown fields should be ignored. |
String |
name
The (optional) name of the object to be bound. |
String[] |
path
Optionally provide an explicit resource path to bind to instead of using the default environment. |
String |
value
The (optional) name of the object to be bound. |
public abstract String value
name().
public abstract String name
value().
public abstract boolean ignoreInvalidFields
public abstract boolean ignoreUnknownFields
public abstract String[] path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||