java.io.Serializable, java.lang.Comparable<ChannelType>public enum ChannelType extends java.lang.Enum<ChannelType>
| Enum Constant | Description |
|---|---|
AGGREGATE_PER_MINUTE |
The aggregate per minute.
|
AGGREGATE_PER_SECOND |
The aggregate per second.
|
QUOTES |
The quotes.
|
TRADES |
The trades.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ChannelType |
fromAPIName(java.lang.String apiName) |
From API name.
|
java.lang.String |
getAPIName() |
Gets the API name.
|
static ChannelType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType TRADES
public static final ChannelType QUOTES
public static final ChannelType AGGREGATE_PER_SECOND
public static final ChannelType AGGREGATE_PER_MINUTE
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType 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 java.lang.String getAPIName()
public static ChannelType fromAPIName(java.lang.String apiName)
apiName - the api name