Enum NodeEvent

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

public enum NodeEvent extends Enum<NodeEvent>
  • Enum Constant Details

    • STARTUP_NODES_ADDED

      public static final NodeEvent STARTUP_NODES_ADDED
      The initial provision of worker pool nodes has completed and nodes have registered (and been identified if node types are configured)
    • NODES_ADDED

      public static final NodeEvent NODES_ADDED
      Nodes have registered (and been identified if node types are configured) after the STARTUP event has been raised.
    • NODES_REMOVED

      public static final NodeEvent NODES_REMOVED
      Nodes have been removed (unregistered or terminated) after the STARTUP event has been raised.
  • Method Details

    • values

      public static NodeEvent[] 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 NodeEvent 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