Package amadeus.cognition


package amadeus.cognition
Provides the core command implementations for the Amadeus application.

This package includes classes that represent various commands supported by the application, such as adding tasks, marking tasks as complete, searching for tasks, and more. Each command is implemented as a subclass of the Command abstract class.

The classes in this package are responsible for parsing user input, performing the necessary actions, and handling errors gracefully using custom exceptions from the AmadeusException class.

Key Classes

Usage Example

 // Create and execute a command
 Command command = new ToDoCommand("Buy groceries");
 command.execute();
 
See Also:
  • Classes
    Class
    Description
    Command to exit the Amadeus application.
    Command to filter tasks based on a date or date range.
    Abstract base class for all commands in the Amadeus application.
    Command to display the list of available commands.
    Command to add a new Deadline task to the task list.
    Command to delete a task from the task list.
    Command to add a new Event task to the task list.
    Command to search for tasks in the task list that match a keyword.
    Command to display the current list of tasks.
    Command to mark a task as complete or incomplete.
    Command to reset the task list.
    Command to add a new ToDo task to the task list.