Enum Action

  • All Implemented Interfaces:
    Serializable, Comparable<Action>

    public enum Action
    extends Enum<Action>
    Enum constants for operations on runtime resources such as server groups, hosts or servers. Not used in DMR operations, but for the various GWT events.
    • Enum Constant Detail

      • RELOAD

        public static final Action RELOAD
      • RESTART

        public static final Action RESTART
      • SUSPEND

        public static final Action SUSPEND
      • RESUME

        public static final Action RESUME
      • START

        public static final Action START
      • STOP

        public static final Action STOP
      • DESTROY

        public static final Action DESTROY
      • KILL

        public static final Action KILL
      • REMOVE

        public static final Action REMOVE
      • COPY

        public static final Action COPY
    • 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
      • isStart

        public static boolean isStart​(Action action)
      • isStop

        public static boolean isStop​(Action action)