public static enum StateRequestCommand.Type extends Enum<StateRequestCommand.Type>
Enum Constant and Description |
---|
CANCEL_STATE_TRANSFER |
GET_TRANSACTIONS |
START_STATE_TRANSFER |
Modifier and Type | Method and Description |
---|---|
static StateRequestCommand.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateRequestCommand.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateRequestCommand.Type GET_TRANSACTIONS
public static final StateRequestCommand.Type START_STATE_TRANSFER
public static final StateRequestCommand.Type CANCEL_STATE_TRANSFER
public static StateRequestCommand.Type[] values()
for (StateRequestCommand.Type c : StateRequestCommand.Type.values()) System.out.println(c);
public static StateRequestCommand.Type 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 © 2014 JBoss, a division of Red Hat. All Rights Reserved.