Enum Class TaskGroupTerminateOnErrorStrategy
java.lang.Object
java.lang.Enum<TaskGroupTerminateOnErrorStrategy>
com.microsoft.azure.management.resources.fluentcore.dag.TaskGroupTerminateOnErrorStrategy
- All Implemented Interfaces:
Serializable
,Comparable<TaskGroupTerminateOnErrorStrategy>
,java.lang.constant.Constable
Defines task group termination strategies to be used once a task error-ed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicate 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 withCompositeException
.Indicate that on task error, allows for any currently executing tasks to finish and emit onError terminal event withCompositeException
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TaskGroupTerminateOnErrorStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TERMINATE_ON_IN_PROGRESS_TASKS_COMPLETION
Indicate that on task error, allows for any currently executing tasks to finish and emit onError terminal event withCompositeException
. Acronym: IPTC -
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 withCompositeException
. Acronym: HLT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-