Enum Class NodeExecutionStateType

java.lang.Object
java.lang.Enum<NodeExecutionStateType>
com.evolveum.midpoint.xml.ns._public.common.common_3.NodeExecutionStateType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<NodeExecutionStateType>, Constable

public enum NodeExecutionStateType extends Enum<NodeExecutionStateType> implements TypeSafeEnum
Node state from the user's point of view. TODO decide what to do with this data type.
  • Enum Constant Details

    • RUNNING

      public static final NodeExecutionStateType RUNNING
      Node is running, task scheduler is running.
    • PAUSED

      public static final NodeExecutionStateType PAUSED
      Node is running, scheduler is paused.
    • NOT_CHECKING_IN

      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).
    • COMMUNICATION_ERROR

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

    • values

      public static NodeExecutionStateType[] 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 NodeExecutionStateType 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
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static NodeExecutionStateType fromValue(String v)