public enum IntendedState extends java.lang.Enum<IntendedState>
| Modifier and Type | Method and Description |
|---|---|
static IntendedState |
byId(int id) |
ConnectionState |
getConnectionState() |
static IntendedState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntendedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntendedState STATUS
public static final IntendedState LOGIN
public static final IntendedState TRANSFER
public static IntendedState[] values()
for (IntendedState c : IntendedState.values()) System.out.println(c);
public static IntendedState 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 static IntendedState byId(int id)
public ConnectionState getConnectionState()