public static enum PrimarySelector.State extends Enum<PrimarySelector.State>
Enum Constant and Description |
---|
PRIMARY
The current process is primary.
|
STANDBY
The current process is standby.
|
Modifier and Type | Method and Description |
---|---|
static PrimarySelector.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimarySelector.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimarySelector.State PRIMARY
public static final PrimarySelector.State STANDBY
public static PrimarySelector.State[] values()
for (PrimarySelector.State c : PrimarySelector.State.values()) System.out.println(c);
public static PrimarySelector.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 © 2023. All Rights Reserved.