public static enum BootstrapSwitch.State extends Enum<BootstrapSwitch.State>
Enum Constant and Description |
---|
OFF
State is 'OFF'.
|
ON
State is 'ON'.
|
UNDETERMINED
State is 'UNDETERMINED', which is a special state a bootstrap switch can have (neither ON or OFF).
|
Modifier and Type | Method and Description |
---|---|
static BootstrapSwitch.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BootstrapSwitch.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BootstrapSwitch.State ON
public static final BootstrapSwitch.State OFF
public static final BootstrapSwitch.State UNDETERMINED
public static BootstrapSwitch.State[] values()
for (BootstrapSwitch.State c : BootstrapSwitch.State.values()) System.out.println(c);
public static BootstrapSwitch.State 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 © 2004–2021 XWiki. All rights reserved.