public static enum CommandExecutor.Type extends Enum<CommandExecutor.Type>
| Enum Constant and Description |
|---|
CONNECTOR
A command executor of this type, makes a tcp connection to a 'commandserver'
(See Command Server)
|
LAUNCHER
A command executor of this type, simpy call System.exec itself to lauch the external command itself.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandExecutor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandExecutor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandExecutor.Type LAUNCHER
public static final CommandExecutor.Type CONNECTOR
public static CommandExecutor.Type[] values()
for (CommandExecutor.Type c : CommandExecutor.Type.values()) System.out.println(c);
public static CommandExecutor.Type 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 nullMMBase2 Utils 2.0.0 - 2019-08-08T23:20