public enum ExchangeState extends Enum<ExchangeState>
| Enum Constant and Description |
|---|
COMPLETED |
FAILED |
RECEIVED |
SENT |
STARTED |
| Modifier and Type | Method and Description |
|---|---|
static ExchangeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeState STARTED
public static final ExchangeState SENT
public static final ExchangeState RECEIVED
public static final ExchangeState COMPLETED
public static final ExchangeState FAILED
public static ExchangeState[] values()
for (ExchangeState c : ExchangeState.values()) System.out.println(c);
public static ExchangeState 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 © 2012. All Rights Reserved.