public enum GlobalNacosPropertiesSource extends Enum<GlobalNacosPropertiesSource>
NacosProperties| Enum Constant and Description |
|---|
CONFIG
Global
NacosProperties for Nacos Config |
DEFAULT
Default Global
NacosProperties |
DISCOVERY
Global
NacosProperties for Nacos discovery |
MAINTAIN
Global
NacosProperties for Nacos maintain |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getMergedGlobalProperties(org.springframework.beans.factory.BeanFactory beanFactory)
Get Merged
Properties from BeanFactory |
static GlobalNacosPropertiesSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalNacosPropertiesSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalNacosPropertiesSource DEFAULT
NacosPropertiespublic static final GlobalNacosPropertiesSource CONFIG
NacosProperties for Nacos Configpublic static final GlobalNacosPropertiesSource DISCOVERY
NacosProperties for Nacos discoverypublic static final GlobalNacosPropertiesSource MAINTAIN
NacosProperties for Nacos maintainpublic static GlobalNacosPropertiesSource[] values()
for (GlobalNacosPropertiesSource c : GlobalNacosPropertiesSource.values()) System.out.println(c);
public static GlobalNacosPropertiesSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Properties getMergedGlobalProperties(org.springframework.beans.factory.BeanFactory beanFactory)
Properties from BeanFactorybeanFactory - BeanFactoryProperties BeanCopyright © 2020. All rights reserved.