Share via


BatchStartTaskState Class

public final class BatchStartTaskState
extends ExpandableStringEnum<BatchStartTaskState>

BatchStartTaskState enums.

Field Summary

Modifier and Type Field and Description
static final BatchStartTaskState COMPLETED

The StartTask has exited with exit code 0, or the StartTask has failed and the retry limit has reached, or the StartTask process did not run due to Task preparation errors (such as resource file download failures).

static final BatchStartTaskState RUNNING

The StartTask is currently running.

Constructor Summary

Constructor Description
BatchStartTaskState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchStartTaskState value.

Method Summary

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

Creates or finds a BatchStartTaskState from its string representation.

static Collection<BatchStartTaskState> values()

Gets known BatchStartTaskState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPLETED

public static final BatchStartTaskState COMPLETED

The StartTask has exited with exit code 0, or the StartTask has failed and the retry limit has reached, or the StartTask process did not run due to Task preparation errors (such as resource file download failures).

RUNNING

public static final BatchStartTaskState RUNNING

The StartTask is currently running.

Constructor Details

BatchStartTaskState

@Deprecated
public BatchStartTaskState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchStartTaskState value.

Method Details

fromString

public static BatchStartTaskState fromString(String name)

Creates or finds a BatchStartTaskState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchStartTaskState.

values

public static Collection<BatchStartTaskState> values()

Gets known BatchStartTaskState values.

Returns:

known BatchStartTaskState values.

Applies to