public enum ArgumentParsers extends java.lang.Enum<ArgumentParsers> implements IArgumentParser
| Enum Constant and Description |
|---|
BOOLEAN |
DOUBLE |
FLOAT |
INTEGER |
ITEM_STACK |
PLAYER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static <T> IArgumentParser<T> |
getBuiltinParser(java.lang.Class<T> type) |
static ArgumentParsers |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArgumentParsers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetTabCompletion, parseArgumentpublic static final ArgumentParsers INTEGER
public static final ArgumentParsers BOOLEAN
public static final ArgumentParsers STRING
public static final ArgumentParsers FLOAT
public static final ArgumentParsers DOUBLE
public static final ArgumentParsers PLAYER
public static final ArgumentParsers ITEM_STACK
public static ArgumentParsers[] values()
for (ArgumentParsers c : ArgumentParsers.values()) System.out.println(c);
public static ArgumentParsers 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 static <T> IArgumentParser<T> getBuiltinParser(java.lang.Class<T> type)