Enum NodeExecutionStateType

  • All Implemented Interfaces:
    Serializable, Comparable<NodeExecutionStateType>

    public enum NodeExecutionStateType
    extends Enum<NodeExecutionStateType>

    Java class for NodeExecutionStateType.

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

     <simpleType name="NodeExecutionStateType">
       <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"/>
    • Enum Constant Detail


        public static final NodeExecutionStateType 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 state is available only for remote nodes, of course.
      • STARTING

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

        public static final NodeExecutionStateType 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).
      • ERROR

        public static final NodeExecutionStateType ERROR
        Node error (see NodeErrorStateType for more details).

        public static final NodeExecutionStateType COMMUNICATION_ERROR
        State unknown due to communication error.
    • Method Detail

      • values

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

        public static NodeExecutionStateType 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()