Package org.apache.flink.configuration
Enum TaskManagerOptions.SystemOutMode
- java.lang.Object
-
- java.lang.Enum<TaskManagerOptions.SystemOutMode>
-
- org.apache.flink.configuration.TaskManagerOptions.SystemOutMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskManagerOptions.SystemOutMode>
- Enclosing class:
- TaskManagerOptions
public static enum TaskManagerOptions.SystemOutMode extends Enum<TaskManagerOptions.SystemOutMode>
Type of redirection ofSystem.out
andSystem.err
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Don't change theSystem.out
andSystem.err
, it's the default value.IGNORE
Ignore allSystem.out
andSystem.err
directly.LOG
Redirect allSystem.out
andSystem.err
to LOG.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskManagerOptions.SystemOutMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskManagerOptions.SystemOutMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final TaskManagerOptions.SystemOutMode DEFAULT
Don't change theSystem.out
andSystem.err
, it's the default value.
-
LOG
public static final TaskManagerOptions.SystemOutMode LOG
Redirect allSystem.out
andSystem.err
to LOG.
-
IGNORE
public static final TaskManagerOptions.SystemOutMode IGNORE
Ignore allSystem.out
andSystem.err
directly.
-
-
Method Detail
-
values
public static TaskManagerOptions.SystemOutMode[] 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 (TaskManagerOptions.SystemOutMode c : TaskManagerOptions.SystemOutMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskManagerOptions.SystemOutMode 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 nameNullPointerException
- if the argument is null
-
-