Enum NodeActionQueueStatus

java.lang.Object
java.lang.Enum<NodeActionQueueStatus>
co.yellowdog.platform.model.NodeActionQueueStatus
All Implemented Interfaces:
Serializable, Comparable<NodeActionQueueStatus>, java.lang.constant.Constable

public enum NodeActionQueueStatus extends Enum<NodeActionQueueStatus>
The status of the action queue for a specific node.
  • Enum Constant Details

    • EMPTY

      public static final NodeActionQueueStatus EMPTY
      No actions are waiting for the node to execute.
    • WAITING

      public static final NodeActionQueueStatus WAITING
      Actions are waiting for the node to retrieve and execute.
    • EXECUTING

      public static final NodeActionQueueStatus EXECUTING
      Actions are currently being executed by the node.
    • FAILED

      public static final NodeActionQueueStatus FAILED
      The node has failed to execute an action and the queue is stopped.
  • Method Details

    • values

      public static NodeActionQueueStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NodeActionQueueStatus 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