public static enum ProcessExecutor.Option extends Enum<ProcessExecutor.Option>
| Enum Constant and Description |
|---|
EXPECTING_STD_ERR |
EXPECTING_STD_OUT
If set, will not highlight output to stdout or stderr when printing.
|
IS_SILENT
If set, do not write output to stdout or stderr.
|
PRINT_STD_ERR |
PRINT_STD_OUT |
| Modifier and Type | Method and Description |
|---|---|
static ProcessExecutor.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessExecutor.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessExecutor.Option PRINT_STD_OUT
public static final ProcessExecutor.Option PRINT_STD_ERR
public static final ProcessExecutor.Option EXPECTING_STD_OUT
public static final ProcessExecutor.Option EXPECTING_STD_ERR
public static final ProcessExecutor.Option IS_SILENT
public static ProcessExecutor.Option[] values()
for (ProcessExecutor.Option c : ProcessExecutor.Option.values()) System.out.println(c);
public static ProcessExecutor.Option 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 null