Enum Class StandardOutput.Target
- All Implemented Interfaces:
Serializable, Comparable<StandardOutput.Target>, Constable
- Enclosing class:
StandardOutput
The target for the the output stream.
- Author:
- James R. Perkins
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe output stream data has been collected and can be queried.The output stream data has been discarded.The output stream will be redirected to a file.The output stream for a process will be inherited from this parent process.The output stream will be redirected toSystem.err.The output stream will be redirected toSystem.out. -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardOutput.TargetReturns the enum constant of this class with the specified name.static StandardOutput.Target[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 toSystem.err. -
SYSTEM_OUT
The output stream will be redirected toSystem.out. -
INHERIT
The output stream for a process will be inherited from this parent process.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-