Package org.apache.accumulo.shell
Enum Shell.Command.CompletionSet
- java.lang.Object
-
- java.lang.Enum<Shell.Command.CompletionSet>
-
- org.apache.accumulo.shell.Shell.Command.CompletionSet
-
- All Implemented Interfaces:
Serializable,Comparable<Shell.Command.CompletionSet>
- Enclosing class:
- Shell.Command
public static enum Shell.Command.CompletionSet extends Enum<Shell.Command.CompletionSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMANDSNAMESPACESTABLENAMESUSERNAMES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Shell.Command.CompletionSetvalueOf(String name)Returns the enum constant of this type with the specified name.static Shell.Command.CompletionSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLENAMES
public static final Shell.Command.CompletionSet TABLENAMES
-
USERNAMES
public static final Shell.Command.CompletionSet USERNAMES
-
COMMANDS
public static final Shell.Command.CompletionSet COMMANDS
-
NAMESPACES
public static final Shell.Command.CompletionSet NAMESPACES
-
-
Method Detail
-
values
public static Shell.Command.CompletionSet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Shell.Command.CompletionSet c : Shell.Command.CompletionSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Shell.Command.CompletionSet valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-