
public.javadoc.org.spincast.plugins.processutils.ExecutionOutputStrategy.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
ExecutionOutputStrategy (org.spincast:spincast-framework 1.14.0 API)
org.spincast.plugins.processutils
Enum ExecutionOutputStrategy
- java.lang.Object
-
- java.lang.Enum<ExecutionOutputStrategy>
-
- org.spincast.plugins.processutils.ExecutionOutputStrategy
-
- All Implemented Interfaces:
- Serializable, Comparable<ExecutionOutputStrategy>
public enum ExecutionOutputStrategy
extends Enum<ExecutionOutputStrategy>
What to do with the output of the created processes?
-
-
Enum Constant Summary
Enum Constants
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
.
-
Method Summary
All Methods Static Methods Concrete Methods
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.
-
-
Enum Constant Detail
-
NONE
public static final ExecutionOutputStrategy NONE
The output is ignored, discarded.
-
SYSTEM
public static final ExecutionOutputStrategy SYSTEM
The output is sent to
System.out
or
System.err
.
-
BUFFER
public static final ExecutionOutputStrategy BUFFER
The output is buffered so it is
available when the process ends.
-
Method Detail
-
values
public static ExecutionOutputStrategy[] values()
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ExecutionOutputStrategy c : ExecutionOutputStrategy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionOutputStrategy valueOf(String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant with the specified name
NullPointerException
- if the argument is null
Copyright © 2019. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy