public enum ExchangeEndpoint extends Enum<ExchangeEndpoint>
Enum Constant and Description |
---|
CANCEL_ORDER |
GET_ACCOUNTS |
GET_OPEN_ORDERS |
GET_TRADES |
PLACE_LIMIT_ORDER |
Modifier and Type | Method and Description |
---|---|
static String |
getUrlBasingOnEndpoint(String sslUri,
ExchangeEndpoint endpoint) |
static ExchangeEndpoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeEndpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeEndpoint GET_ACCOUNTS
public static final ExchangeEndpoint GET_OPEN_ORDERS
public static final ExchangeEndpoint PLACE_LIMIT_ORDER
public static final ExchangeEndpoint CANCEL_ORDER
public static final ExchangeEndpoint GET_TRADES
public static ExchangeEndpoint[] values()
for (ExchangeEndpoint c : ExchangeEndpoint.values()) System.out.println(c);
public static ExchangeEndpoint 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 static final String getUrlBasingOnEndpoint(String sslUri, ExchangeEndpoint endpoint)
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.