public enum ConfigurationPropertyState extends java.lang.Enum<ConfigurationPropertyState>
ConfigurationPropertySource
.Enum Constant and Description |
---|
ABSENT
The
ConfigurationPropertySource has no matching
ConfigurationProperties . |
PRESENT
The
ConfigurationPropertySource has at least one matching
ConfigurationProperty . |
UNKNOWN
It's not possible to determine if
ConfigurationPropertySource has matching
ConfigurationProperties or not. |
Modifier and Type | Method and Description |
---|---|
static ConfigurationPropertyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationPropertyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationPropertyState PRESENT
ConfigurationPropertySource
has at least one matching
ConfigurationProperty
.public static final ConfigurationPropertyState ABSENT
ConfigurationPropertySource
has no matching
ConfigurationProperties
.public static final ConfigurationPropertyState UNKNOWN
ConfigurationPropertySource
has matching
ConfigurationProperties
or not.public static ConfigurationPropertyState[] values()
for (ConfigurationPropertyState c : ConfigurationPropertyState.values()) System.out.println(c);
public static ConfigurationPropertyState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null