Enum Action

    • Enum Constant Detail

      • PAUSE

        public static final Action PAUSE
        Pause the server
      • UNPAUSE

        public static final Action UNPAUSE
        UnPause the paused server
      • STOP

        public static final Action STOP
        Stop the server
      • START

        public static final Action START
        Start the server
      • LOCK

        public static final Action LOCK
        Lock the server
      • UNLOCK

        public static final Action UNLOCK
        Unlock a locked server
      • SUSPEND

        public static final Action SUSPEND
        Suspend a server
      • RESUME

        public static final Action RESUME
        Resume a suspended server
      • RESCUE

        public static final Action RESCUE
        Rescue the server
      • UNRESCUE

        public static final Action UNRESCUE
        Unrescue the server
      • SHELVE

        public static final Action SHELVE
        Shelve the server
      • SHELVE_OFFLOAD

        public static final Action SHELVE_OFFLOAD
        Remove a shelved instance from the compute node
      • UNSHELVE

        public static final Action UNSHELVE
        Unshelve the server
      • FORCEDELETE

        public static final Action FORCEDELETE
        Force delete the server
    • Method Detail

      • values

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

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