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