public static enum CommandParamData.Type extends Enum<CommandParamData.Type>
| Enum Constant and Description |
|---|
COMMAND |
FILE_PATH |
FLOAT |
INT |
INT_RANGE |
JSON |
MESSAGE |
OPERATOR |
POSITION |
STRING |
TARGET |
TEXT |
VALUE |
WILDCARD_INT |
WILDCARD_TARGET |
| Modifier and Type | Method and Description |
|---|---|
static CommandParamData.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandParamData.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandParamData.Type INT
public static final CommandParamData.Type FLOAT
public static final CommandParamData.Type VALUE
public static final CommandParamData.Type WILDCARD_INT
public static final CommandParamData.Type OPERATOR
public static final CommandParamData.Type TARGET
public static final CommandParamData.Type WILDCARD_TARGET
public static final CommandParamData.Type FILE_PATH
public static final CommandParamData.Type INT_RANGE
public static final CommandParamData.Type STRING
public static final CommandParamData.Type POSITION
public static final CommandParamData.Type MESSAGE
public static final CommandParamData.Type TEXT
public static final CommandParamData.Type JSON
public static final CommandParamData.Type COMMAND
public static CommandParamData.Type[] values()
for (CommandParamData.Type c : CommandParamData.Type.values()) System.out.println(c);
public static CommandParamData.Type 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 nullCopyright © 2018–2019 NukkitX. All rights reserved.