public enum ConfigurationElementState extends java.lang.Enum<ConfigurationElementState>
Enum Constant and Description |
---|
DISABLED
Indicates the configuration disabled the option
|
ENABLED
Indicates the configuration enabled the option
|
UNSPECIFIED
Indicates the configuration did not specify a value
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
asBoolean() |
static ConfigurationElementState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationElementState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationElementState UNSPECIFIED
public static final ConfigurationElementState DISABLED
public static final ConfigurationElementState ENABLED
public static ConfigurationElementState[] values()
for (ConfigurationElementState c : ConfigurationElementState.values()) System.out.println(c);
public static ConfigurationElementState 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 nullpublic abstract boolean asBoolean()