Share via


BatchTaskFailureMode Class

public final class BatchTaskFailureMode
extends ExpandableStringEnum<BatchTaskFailureMode>

TaskFailure enums.

Field Summary

Modifier and Type Field and Description
static final BatchTaskFailureMode NO_ACTION

Do nothing.

static final BatchTaskFailureMode PERFORM_EXIT_OPTIONS_JOB_ACTION

Terminate the Job.

Constructor Summary

Constructor Description
BatchTaskFailureMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchTaskFailureMode value.

Method Summary

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

Creates or finds a BatchTaskFailureMode from its string representation.

static Collection<BatchTaskFailureMode> values()

Gets known BatchTaskFailureMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NO_ACTION

public static final BatchTaskFailureMode NO_ACTION

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

PERFORM_EXIT_OPTIONS_JOB_ACTION

public static final BatchTaskFailureMode PERFORM_EXIT_OPTIONS_JOB_ACTION

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

Constructor Details

BatchTaskFailureMode

@Deprecated
public BatchTaskFailureMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchTaskFailureMode value.

Method Details

fromString

public static BatchTaskFailureMode fromString(String name)

Creates or finds a BatchTaskFailureMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchTaskFailureMode.

values

public static Collection<BatchTaskFailureMode> values()

Gets known BatchTaskFailureMode values.

Returns:

known BatchTaskFailureMode values.

Applies to