JobAction Enum

定义

Defines values for JobAction.

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

字段

DISABLE

Disable the job. This is equivalent to calling the disable job API, with a disableTasks value of requeue.

NONE

Take no action.

TERMINATE

Terminate the job. The terminateReason in the job's executionInfo is set to "TaskFailed".

构造函数

JobAction(String value)

public JobAction(String value)

参数

value
String

方法

fromString(String value)

Parses a serialized value to a JobAction instance.

public static JobAction fromString(String value)

参数

value
String

the serialized value to parse.

返回

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

toString()

public String toString()

返回

String

适用于