public enum ConfigurationPropertyState extends 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(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(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 © 2019 Pivotal Software, Inc.. All rights reserved.