public static enum CODACommand.InputType extends java.lang.Enum<CODACommand.InputType>
Enum Constant and Description |
---|
PAYLOAD_INT
By getting a payload item of int.
|
PAYLOAD_TEXT
By getting a payload item of text.
|
TEXT
By calling msg.getText().
|
USER_INT
By calling msg.userInt().
|
Modifier and Type | Method and Description |
---|---|
static CODACommand.InputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CODACommand.InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CODACommand.InputType TEXT
public static final CODACommand.InputType USER_INT
public static final CODACommand.InputType PAYLOAD_TEXT
public static final CODACommand.InputType PAYLOAD_INT
public static CODACommand.InputType[] values()
for (CODACommand.InputType c : CODACommand.InputType.values()) System.out.println(c);
public static CODACommand.InputType 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