public enum KrakenOrderStatus extends Enum<KrakenOrderStatus>
Enum Constant and Description |
---|
CANCELED |
CLOSED |
EXPIRED |
OPEN |
PENDING |
Modifier and Type | Method and Description |
---|---|
static KrakenOrderStatus |
fromString(String orderStatusString) |
String |
toString() |
static KrakenOrderStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KrakenOrderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KrakenOrderStatus PENDING
public static final KrakenOrderStatus OPEN
public static final KrakenOrderStatus CLOSED
public static final KrakenOrderStatus CANCELED
public static final KrakenOrderStatus EXPIRED
public static KrakenOrderStatus[] values()
for (KrakenOrderStatus c : KrakenOrderStatus.values()) System.out.println(c);
public static KrakenOrderStatus 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 nullpublic String toString()
toString
in class Enum<KrakenOrderStatus>
public static KrakenOrderStatus fromString(String orderStatusString)
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.