public enum TaskGroupTerminateOnErrorStrategy extends Enum<TaskGroupTerminateOnErrorStrategy>
Enum Constant and Description |
---|
TERMINATE_ON_HITTING_LCA_TASK
Indicate that on task error, allows any other tasks those are not directly or indirectly
depends on the error-ed task to execute, once a LCA (lowest common ancestor) task is hit
(at that point any progress cannot be made) emit onError terminal event with
CompositeException . |
TERMINATE_ON_IN_PROGRESS_TASKS_COMPLETION
Indicate that on task error, allows for any currently executing tasks to finish and emit
onError terminal event with
CompositeException . |
Modifier and Type | Method and Description |
---|---|
static TaskGroupTerminateOnErrorStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskGroupTerminateOnErrorStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskGroupTerminateOnErrorStrategy TERMINATE_ON_IN_PROGRESS_TASKS_COMPLETION
CompositeException
.
Acronym: IPTCpublic static final TaskGroupTerminateOnErrorStrategy TERMINATE_ON_HITTING_LCA_TASK
CompositeException
.
Acronym: HLTpublic static TaskGroupTerminateOnErrorStrategy[] values()
for (TaskGroupTerminateOnErrorStrategy c : TaskGroupTerminateOnErrorStrategy.values()) System.out.println(c);
public static TaskGroupTerminateOnErrorStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.