public static enum TaskManagerOptions.SystemOutMode extends Enum<TaskManagerOptions.SystemOutMode>
System.out
and System.err
.Enum Constant and Description |
---|
DEFAULT
Don't change the
System.out and System.err , it's the default value. |
IGNORE
Ignore all
System.out and System.err directly. |
LOG
Redirect all
System.out and System.err to LOG. |
Modifier and Type | Method and 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.
|
public static final TaskManagerOptions.SystemOutMode DEFAULT
System.out
and System.err
, it's the default value.public static final TaskManagerOptions.SystemOutMode LOG
System.out
and System.err
to LOG.public static final TaskManagerOptions.SystemOutMode IGNORE
System.out
and System.err
directly.public static TaskManagerOptions.SystemOutMode[] values()
for (TaskManagerOptions.SystemOutMode c : TaskManagerOptions.SystemOutMode.values()) System.out.println(c);
public static TaskManagerOptions.SystemOutMode 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 © 2014–2025 The Apache Software Foundation. All rights reserved.