JobAction Enum

  • java.lang.Object
    • java.lang.Enum<JobAction>
      • com.microsoft.azure.batch.protocol.models.JobAction

public enum JobAction

Defines values for JobAction.

Fields

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".

Methods

fromString(String value)

public static JobAction fromString(String value)

Parses a serialized value to a JobAction instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

String

Applies to