Share via


BatchAllTasksCompleteMode Class

public final class BatchAllTasksCompleteMode
extends ExpandableStringEnum<BatchAllTasksCompleteMode>

The action the Batch service should take when all Tasks in the Job are in the completed state.

Field Summary

Modifier and Type Field and Description
static final BatchAllTasksCompleteMode NO_ACTION

Do nothing.

static final BatchAllTasksCompleteMode TERMINATE_JOB

Terminate the Job.

Constructor Summary

Constructor Description
BatchAllTasksCompleteMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchAllTasksCompleteMode value.

Method Summary

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

Creates or finds a BatchAllTasksCompleteMode from its string representation.

static Collection<BatchAllTasksCompleteMode> values()

Gets known BatchAllTasksCompleteMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NO_ACTION

public static final BatchAllTasksCompleteMode NO_ACTION

Do nothing. The Job remains active unless terminated or disabled by some other means.

TERMINATE_JOB

public static final BatchAllTasksCompleteMode TERMINATE_JOB

Terminate the Job. The Job's terminationReason is set to 'AllTasksComplete'.

Constructor Details

BatchAllTasksCompleteMode

@Deprecated
public BatchAllTasksCompleteMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchAllTasksCompleteMode value.

Method Details

fromString

public static BatchAllTasksCompleteMode fromString(String name)

Creates or finds a BatchAllTasksCompleteMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchAllTasksCompleteMode.

values

public static Collection<BatchAllTasksCompleteMode> values()

Gets known BatchAllTasksCompleteMode values.

Returns:

known BatchAllTasksCompleteMode values.

Applies to