Enum CryptonitOrderStatus
- java.lang.Object
-
- java.lang.Enum<CryptonitOrderStatus>
-
- org.knowm.xchange.cryptonit2.dto.trade.CryptonitOrderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<CryptonitOrderStatus>
public enum CryptonitOrderStatus extends Enum<CryptonitOrderStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CryptonitOrderStatusfromString(String orderStatusString)static CryptonitOrderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CryptonitOrderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Queue
public static final CryptonitOrderStatus Queue
-
Open
public static final CryptonitOrderStatus Open
-
Finished
public static final CryptonitOrderStatus Finished
-
-
Method Detail
-
values
public static CryptonitOrderStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CryptonitOrderStatus c : CryptonitOrderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CryptonitOrderStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static CryptonitOrderStatus fromString(String orderStatusString)
-
-