public enum MatchStatus extends java.lang.Enum<MatchStatus>
| Enum Constant and Description |
|---|
_INVALID |
DONE
The trade capture is confirmed and done, the accompanying
amount is final.
|
ERROR
The trade capture state is unknown; an error has occurred.
|
PENDING
The trade capture is pending, awaiting confirmation; the
accompanying amount may be reduced on the subsequent
DONE.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static MatchStatus |
get(byte value) |
static java.util.Collection<MatchStatus> |
validValues() |
static MatchStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchStatus PENDING
public static final MatchStatus DONE
public static final MatchStatus ERROR
public static final MatchStatus _INVALID
public static MatchStatus[] values()
for (MatchStatus c : MatchStatus.values()) System.out.println(c);
public static MatchStatus 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 byte get()
public static MatchStatus get(byte value)
public static java.util.Collection<MatchStatus> validValues()