public static enum ElectPrimaryEffector.ResultCode extends java.lang.Enum<ElectPrimaryEffector.ResultCode>
Enum Constant and Description |
---|
NEW_PRIMARY_ELECTED |
NO_PRIMARY_AVAILABLE |
PRIMARY_UNCHANGED |
Modifier and Type | Method and Description |
---|---|
static ElectPrimaryEffector.ResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElectPrimaryEffector.ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElectPrimaryEffector.ResultCode PRIMARY_UNCHANGED
public static final ElectPrimaryEffector.ResultCode NEW_PRIMARY_ELECTED
public static final ElectPrimaryEffector.ResultCode NO_PRIMARY_AVAILABLE
public static ElectPrimaryEffector.ResultCode[] values()
for (ElectPrimaryEffector.ResultCode c : ElectPrimaryEffector.ResultCode.values()) System.out.println(c);
public static ElectPrimaryEffector.ResultCode 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 null