public enum CommandLineInterpreter extends Enum<CommandLineInterpreter>
| Enum Constant and Description |
|---|
NONE
Not attached to any console
|
SHELL
Unix / Linux / BSD like shell
|
UNKNOWN
Unknown console
|
WIN_CMD
MS Windows WIN_CMD.EXE
|
| Modifier and Type | Method and Description |
|---|---|
static CommandLineInterpreter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineInterpreter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineInterpreter SHELL
public static final CommandLineInterpreter WIN_CMD
public static final CommandLineInterpreter NONE
public static final CommandLineInterpreter UNKNOWN
public static CommandLineInterpreter[] values()
for (CommandLineInterpreter c : CommandLineInterpreter.values()) System.out.println(c);
public static CommandLineInterpreter 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 © 2015. All rights reserved.