public static enum Provider.Scope extends java.lang.Enum<Provider.Scope>
| Enum Constant and Description |
|---|
BOTH
Override both the parser and suggestions.
|
PARSER
Override only the argument parser.
|
SUGGESTIONS
Override only the tab completion suggestions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
affectsParser() |
boolean |
affectsSuggestions() |
static Provider.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Provider.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Provider.Scope PARSER
public static final Provider.Scope SUGGESTIONS
public static final Provider.Scope BOTH
public static Provider.Scope[] values()
for (Provider.Scope c : Provider.Scope.values()) System.out.println(c);
public static Provider.Scope 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 boolean affectsParser()
public boolean affectsSuggestions()