Serializable
, Comparable<ConsoleEngineImpl.Command>
public static enum ConsoleEngineImpl.Command extends Enum<ConsoleEngineImpl.Command>
Enum Constant | Description |
---|---|
ALIAS |
|
DEL |
|
PIPE |
|
PRNT |
|
SHOW |
|
SLURP |
|
UNALIAS |
Modifier and Type | Method | Description |
---|---|---|
static ConsoleEngineImpl.Command |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ConsoleEngineImpl.Command[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleEngineImpl.Command SHOW
public static final ConsoleEngineImpl.Command DEL
public static final ConsoleEngineImpl.Command PRNT
public static final ConsoleEngineImpl.Command ALIAS
public static final ConsoleEngineImpl.Command PIPE
public static final ConsoleEngineImpl.Command UNALIAS
public static final ConsoleEngineImpl.Command SLURP
public static ConsoleEngineImpl.Command[] values()
for (ConsoleEngineImpl.Command c : ConsoleEngineImpl.Command.values()) System.out.println(c);
public static ConsoleEngineImpl.Command 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 nullCopyright © 2020. All rights reserved.