Enum Class NodePendingAction

java.lang.Object
java.lang.Enum<NodePendingAction>
org.jppf.management.NodePendingAction
All Implemented Interfaces:
Serializable, Comparable<NodePendingAction>, Constable

public enum NodePendingAction extends Enum<NodePendingAction>
An enumeration of the possible pending actions for a node, set via one of the shutdown(false) or restart(false) methods of JPPFNodeAdminMBean.
Author:
Laurent Cohen
  • Enum Constant Details

    • NONE

      public static final NodePendingAction NONE
      There is no pending qction.
    • SHUTDOWN

      public static final NodePendingAction SHUTDOWN
      A deferred shutdown was requested.
    • RESTART

      public static final NodePendingAction RESTART
      A deferred restart was requested.
    • RECONNECT

      public static final NodePendingAction RECONNECT
      A deferred reconnection was requested.
  • Method Details

    • values

      public static NodePendingAction[] 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 NodePendingAction 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
    • getDisplayName

      public String getDisplayName()
      Get the localizable display name.
      Returns:
      the key of a message ot localize.