public static enum ProcessConfiguration.RedirectType extends Enum<ProcessConfiguration.RedirectType>
| Enum Constant and Description |
|---|
INHERIT
Sets the source and destination for subprocess standard I/O to be the same as those of the current Java process.
|
LOGGER
Logs the subprocess standard output (as INFO) and error output (as WARN) to the logger.
|
NONE
No redirection will be set.
|
STRING
Writes all subprocess standard output and error output to a
ProcessInstance.output string. |
| Modifier and Type | Method and Description |
|---|---|
static ProcessConfiguration.RedirectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessConfiguration.RedirectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessConfiguration.RedirectType LOGGER
public static final ProcessConfiguration.RedirectType INHERIT
public static final ProcessConfiguration.RedirectType STRING
ProcessInstance.output string. The thread that started the
subprocess will wait for the subprocess to exit.public static final ProcessConfiguration.RedirectType NONE
public static ProcessConfiguration.RedirectType[] values()
for (ProcessConfiguration.RedirectType c : ProcessConfiguration.RedirectType.values()) System.out.println(c);
public static ProcessConfiguration.RedirectType 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 © 2016–2018 Softelnet. All rights reserved.