Enum TaskGroupTerminateOnErrorStrategy

    • Enum Constant Detail

      • 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 RuntimeException. 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 RuntimeException . Acronym: HLT
    • Method Detail

      • values

        public static TaskGroupTerminateOnErrorStrategy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TaskGroupTerminateOnErrorStrategy c : TaskGroupTerminateOnErrorStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TaskGroupTerminateOnErrorStrategy valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null