public static enum StandardOutputStream.Target extends Enum<StandardOutputStream.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.
|
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 StandardOutputStream.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardOutputStream.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardOutputStream.Target COLLECTING
public static final StandardOutputStream.Target DISCARDING
public static final StandardOutputStream.Target FILE
public static final StandardOutputStream.Target SYSTEM_ERR
System.err.public static final StandardOutputStream.Target SYSTEM_OUT
System.out.public static StandardOutputStream.Target[] values()
for (StandardOutputStream.Target c : StandardOutputStream.Target.values()) System.out.println(c);
public static StandardOutputStream.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 © 2017 JBoss by Red Hat. All rights reserved.