JobState Enum

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

public 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. No tasks are running, and no new tasks will be scheduled.

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

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

String

Applies to