@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface NacosConfigurationProperties
PropertyKeyConst| Modifier and Type | Required Element and Description |
|---|---|
String |
dataId
Nacos Data ID
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
autoRefreshed
It indicates the properties of current doBind bean is auto-refreshed when Nacos configuration is changed.
|
boolean |
exceptionIfInvalid
Flag to indicate that an exception should be raised if a Validator is available and validation fails.
|
String |
groupId
Nacos Group ID
|
boolean |
ignoreInvalidFields
Flag to indicate that when binding to this object invalid fields should be ignored.
|
boolean |
ignoreNestedProperties
Flag to indicate that when binding to this object fields with periods in their names should be ignored.
|
boolean |
ignoreUnknownFields
Flag to indicate that when binding to this object unknown fields should be ignored.
|
NacosProperties |
properties
The
NacosProperties attribute, If not specified, it will use global Nacos Properties. |
public abstract String dataId
public abstract String groupId
Constants.DEFAULT_GROUP;public abstract boolean autoRefreshed
falsepublic abstract boolean ignoreInvalidFields
public abstract boolean ignoreNestedProperties
public abstract boolean ignoreUnknownFields
public abstract boolean exceptionIfInvalid
public abstract NacosProperties properties
NacosProperties attribute, If not specified, it will use global Nacos Properties.NacosPropertiesCopyright © 2018 Alibaba Group. All rights reserved.