Enum ThreadStopActionType

  • All Implemented Interfaces:
    Serializable, Comparable<ThreadStopActionType>

    public enum ThreadStopActionType
    extends Enum<ThreadStopActionType>
    <p>Java class for ThreadStopActionType. <p>The following schema fragment specifies the expected content contained within this class. <p> <pre> &lt;simpleType name="ThreadStopActionType"&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;enumeration value="restart"/&gt; &lt;enumeration value="reschedule"/&gt; &lt;enumeration value="suspend"/&gt; &lt;enumeration value="close"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; </pre>
    • Enum Constant Detail

      • RESTART

        public static final ThreadStopActionType RESTART
        The task will be restarted on first node available (i.e. either immediately, if there is a suitable node in the cluster, or later, when a suitable node becomes available).

        public static final ThreadStopActionType RESCHEDULE
        The task will be rescheduled according to its schedule (for single-run tasks this is the same as 'restart').
    • Method Detail

      • values

        public static ThreadStopActionType[] 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 (ThreadStopActionType c : ThreadStopActionType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ThreadStopActionType 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()