public static enum StandardOutput.Target extends Enum<StandardOutput.Target>
Enum Constant and Description |
---|
COLLECTING
The output stream data has been collected and can be queried.
|
DISCARDING
The output stream data has been discarded.
|
FILE
The output stream will be redirected to a file.
|
INHERIT
The output stream for a process will be inherited from this parent process.
|
SYSTEM_ERR
The output stream will be redirected to
System.err . |
SYSTEM_OUT
The output stream will be redirected to
System.out . |
Modifier and Type | Method and Description |
---|---|
static StandardOutput.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardOutput.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardOutput.Target COLLECTING
public static final StandardOutput.Target DISCARDING
public static final StandardOutput.Target FILE
public static final StandardOutput.Target SYSTEM_ERR
System.err
.public static final StandardOutput.Target SYSTEM_OUT
System.out
.public static final StandardOutput.Target INHERIT
public static StandardOutput.Target[] values()
for (StandardOutput.Target c : StandardOutput.Target.values()) System.out.println(c);
public static StandardOutput.Target 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 JBoss by Red Hat. All rights reserved.