public static enum ActiveElectionState.State extends Enum<ActiveElectionState.State>
Modifier and Type | Method and Description |
---|---|
static ActiveElectionState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveElectionState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveElectionState.State NONE
public static final ActiveElectionState.State PENDING
public static final ActiveElectionState.State PREPARE
public static final ActiveElectionState.State ACTIVE
public static ActiveElectionState.State[] values()
for (ActiveElectionState.State c : ActiveElectionState.State.values()) System.out.println(c);
public static ActiveElectionState.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 © GigaSpaces.