Serializable, Comparable<ChangeSupport>public enum ChangeSupport extends Enum<ChangeSupport>
| Enum Constant | Description |
|---|---|
IMMUTABLE |
Configuration properties of this property source cannot change for the lifetime of this
PropertySource. |
SUPPORTED |
Config change is supported, this config source supports registering ConfigChangeListeners.
|
UNSUPPORTED |
Config change is not supported.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ChangeSupport |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ChangeSupport[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeSupport SUPPORTED
PropertySource.addChangeListener(BiConsumer) .public static final ChangeSupport UNSUPPORTED
public static final ChangeSupport IMMUTABLE
PropertySource.public static ChangeSupport[] values()
for (ChangeSupport c : ChangeSupport.values()) System.out.println(c);
public static ChangeSupport 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 © 2014–2019 Apache Software Foundation. All rights reserved.