SchedulingState 枚举

定义

Defines values for SchedulingState.

public enum SchedulingState
继承
java.lang.Object
java.lang.Enum<SchedulingState>
SchedulingState

字段

DISABLED

No new tasks will be scheduled on the node. Tasks already running on the node may still run to completion. All nodes start with scheduling enabled.

ENABLED

Tasks can be scheduled on the node.

方法

fromString(String value)

Parses a serialized value to a SchedulingState instance.

public static SchedulingState fromString(String value)

参数

value
String

the serialized value to parse.

返回

the parsed SchedulingState object, or null if unable to parse.

toString()

public String toString()

参数

value
String

the serialized value to parse.

返回

String

适用于