Enum Command.Action

    • Enum Constant Detail

      • CANCEL

        public static final Command.Action CANCEL
        The command should be canceled.
      • COMPLETE

        public static final Command.Action COMPLETE
        The command should be completed (if possible).
      • EXECUTE

        public static final Command.Action EXECUTE
        The command should be executed or continue to be executed. This is the default value.
      • NEXT

        public static final Command.Action NEXT
        The command should progress to the next stage of execution.
      • PREV

        public static final Command.Action PREV
        The command should be digress to the previous stage of execution.
    • Method Detail

      • values

        public static Command.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 (Command.Action c : Command.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 Command.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