JobState Enum

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

public enum JobState
extends Enum<JobState>

Defines values for JobState.

Fields

ACTIVE

The Job is available to have Tasks scheduled.

COMPLETED

All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.

DELETING

A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).

DISABLED

A user has disabled the Job.

DISABLING

A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).

ENABLING

A user has requested that the Job be enabled, but the enable operation is still in progress.

TERMINATING

The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static JobState fromString(String value)

Parses a serialized value to a JobState instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static JobState valueOf(String name)

Parameters

name
String

Returns

values()

public static JobState[] values()

Returns

Applies to