Share via


BatchJobState Class

public final class BatchJobState
extends ExpandableStringEnum<BatchJobState>

BatchJobState enums.

Field Summary

Modifier and Type Field and Description
static final BatchJobState ACTIVE

The Job is available to have Tasks scheduled.

static final BatchJobState COMPLETED

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

static final BatchJobState 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).

static final BatchJobState DISABLED

A user has disabled the Job.

static final BatchJobState 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).

static final BatchJobState ENABLING

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

static final BatchJobState 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).

Constructor Summary

Constructor Description
BatchJobState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchJobState value.

Method Summary

Modifier and Type Method and Description
static BatchJobState fromString(String name)

Creates or finds a BatchJobState from its string representation.

static Collection<BatchJobState> values()

Gets known BatchJobState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final BatchJobState ACTIVE

The Job is available to have Tasks scheduled.

COMPLETED

public static final BatchJobState COMPLETED

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

DELETING

public static final BatchJobState 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

public static final BatchJobState DISABLED

A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled.

DISABLING

public static final BatchJobState 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

public static final BatchJobState ENABLING

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

TERMINATING

public static final BatchJobState 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).

Constructor Details

BatchJobState

@Deprecated
public BatchJobState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchJobState value.

Method Details

fromString

public static BatchJobState fromString(String name)

Creates or finds a BatchJobState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchJobState.

values

public static Collection<BatchJobState> values()

Gets known BatchJobState values.

Returns:

known BatchJobState values.

Applies to