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

public enum TaskGroupTerminateOnErrorStrategy extends Enum<TaskGroupTerminateOnErrorStrategy>
Defines task group termination strategies to be used once a task error-ed.
  • Enum Constant Details

    • TERMINATE_ON_IN_PROGRESS_TASKS_COMPLETION

      public static final TaskGroupTerminateOnErrorStrategy 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. Acronym: IPTC
    • TERMINATE_ON_HITTING_LCA_TASK

      public static final TaskGroupTerminateOnErrorStrategy 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. Acronym: HLT
  • Method Details

    • values

      public static TaskGroupTerminateOnErrorStrategy[] 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

      public static TaskGroupTerminateOnErrorStrategy valueOf(String name)
      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 name
      NullPointerException - if the argument is null