public static enum ConfigReloadProperties.ReloadStrategy extends Enum<ConfigReloadProperties.ReloadStrategy>
Enum Constant and Description |
---|
REFRESH
Fire a refresh of beans annotated with @ConfigurationProperties or @RefreshScope.
|
RESTART_CONTEXT
Restarts the Spring ApplicationContext to apply the new configuration.
|
SHUTDOWN
Shuts down the Spring ApplicationContext to activate a restart of the container.
|
Modifier and Type | Method and Description |
---|---|
static ConfigReloadProperties.ReloadStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigReloadProperties.ReloadStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigReloadProperties.ReloadStrategy REFRESH
public static final ConfigReloadProperties.ReloadStrategy RESTART_CONTEXT
public static final ConfigReloadProperties.ReloadStrategy SHUTDOWN
public static ConfigReloadProperties.ReloadStrategy[] values()
for (ConfigReloadProperties.ReloadStrategy c : ConfigReloadProperties.ReloadStrategy.values()) System.out.println(c);
public static ConfigReloadProperties.ReloadStrategy 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 nullCopyright © 2016–2017 Red Hat. All rights reserved.