public static enum TaskManagerOptions.SystemOutMode extends Enum<TaskManagerOptions.SystemOutMode>
System.out
and System.err
.枚举常量和说明 |
---|
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. |
限定符和类型 | 方法和说明 |
---|---|
static TaskManagerOptions.SystemOutMode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TaskManagerOptions.SystemOutMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.