Enum NodeExecutionStatusType

  • All Implemented Interfaces:
    Serializable, Comparable<NodeExecutionStatusType>

    public enum NodeExecutionStatusType
    extends Enum<NodeExecutionStatusType>

    Java class for NodeExecutionStatusType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="NodeExecutionStatusType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="running"/>
         <enumeration value="paused"/>
         <enumeration value="notCheckingIn"/>
         <enumeration value="starting"/>
         <enumeration value="down"/>
         <enumeration value="error"/>
         <enumeration value="communicationError"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • NOT_CHECKING_IN

        public static final NodeExecutionStatusType NOT_CHECKING_IN
        Node has not checked in for at least "nodeTimeout" seconds (default is 30). But it has not declared itself as turned off. Note that other nodes can declare a node as turned off after not checking in for "nodeAlivenessTimeout" seconds (default is 900). This status is available only for remote nodes, of course.
      • STARTING

        public static final NodeExecutionStatusType STARTING
        Node is starting. It is expected it will be alive soon but should not be contacted via REST/JMX yet.
      • DOWN

        public static final NodeExecutionStatusType DOWN
        Node is turned off (its "running" flag is set to false). It either declares itself to be in this state when going down, or other nodes can do it after it does not check in for "nodeAlivenessTimeout" seconds (default is 900).
      • COMMUNICATION_ERROR

        public static final NodeExecutionStatusType COMMUNICATION_ERROR
        Status unknown due to communication error.
    • Method Detail

      • values

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

        public static NodeExecutionStatusType 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
      • value

        public String value()