public enum ExecutionOutputStrategy extends Enum<ExecutionOutputStrategy>
| Enum Constant and Description |
|---|
BUFFER
The output is buffered so it is
available when the process ends.
|
NONE
The output is ignored, discarded.
|
SYSTEM
The output is sent to
System.out or
System.err. |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionOutputStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionOutputStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionOutputStrategy NONE
public static final ExecutionOutputStrategy SYSTEM
System.out or
System.err.public static final ExecutionOutputStrategy BUFFER
public static ExecutionOutputStrategy[] values()
for (ExecutionOutputStrategy c : ExecutionOutputStrategy.values()) System.out.println(c);
public static ExecutionOutputStrategy 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 © 2019. All rights reserved.