public static enum WriteRequest.Type extends java.lang.Enum<WriteRequest.Type>
Enum Constant and Description |
---|
CHANNEL_MSG |
PRIVATE_MSG |
RAW_MSG |
Modifier and Type | Method and Description |
---|---|
static WriteRequest.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteRequest.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteRequest.Type CHANNEL_MSG
public static final WriteRequest.Type PRIVATE_MSG
public static final WriteRequest.Type RAW_MSG
public static WriteRequest.Type[] values()
for (WriteRequest.Type c : WriteRequest.Type.values()) System.out.println(c);
public static WriteRequest.Type 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 null