JobPreparationTaskState Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.batch.protocol.models.JobPreparationTaskState

public enum JobPreparationTaskState
extends Enum<JobPreparationTaskState>

Defines values for JobPreparationTaskState.

Fields

COMPLETED

The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures).

RUNNING

The Task is currently running (including retrying).

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static JobPreparationTaskState fromString(String value)

Parses a serialized value to a JobPreparationTaskState instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static JobPreparationTaskState valueOf(String name)

Parameters

name
String

Returns

values()

public static JobPreparationTaskState[] values()

Returns

Applies to