public static enum StringArgumentType.StringType extends Enum<StringArgumentType.StringType>
| Enum Constant and Description |
|---|
GREEDY_PHRASE |
QUOTABLE_PHRASE |
SINGLE_WORD |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getExamples() |
static StringArgumentType.StringType |
valueOf(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(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 nullpublic Collection<String> getExamples()
Copyright © 2018. All rights reserved.