Index

A B C D E F G I L M N P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addDeadline(Deadline) - Static method in class amadeus.workspace.TaskList
Adds a new Deadline task to the task list.
addEvent(Event) - Static method in class amadeus.workspace.TaskList
Adds a new Event task to the task list.
addToDo(ToDo) - Static method in class amadeus.workspace.TaskList
Adds a new ToDo task to the task list.
amadeus - package amadeus
The root package for the Amadeus chatbot application.
Amadeus - Class in amadeus
The main entry point for the Amadeus chatbot system.
Amadeus() - Constructor for class amadeus.Amadeus
 
amadeus.brain - package amadeus.brain
Provides core functionality for managing data and handling errors in the Amadeus application.
amadeus.cognition - package amadeus.cognition
Provides the core command implementations for the Amadeus application.
amadeus.perception - package amadeus.perception
Provides utilities for parsing and converting user input into executable commands and structured data.
amadeus.personality - package amadeus.personality
Provides user interface (UI) and interaction features for the Amadeus application.
amadeus.workspace - package amadeus.workspace
Provides the core task management functionality for the Amadeus application.
AmadeusException - Exception in amadeus.brain
Represents a custom exception class for handling domain-specific errors in the Amadeus application.
AmadeusException(String) - Constructor for exception amadeus.brain.AmadeusException
Constructs an AmadeusException with a specified error message.
awaken() - Static method in class amadeus.Amadeus
Awakens the Amadeus chatbot, initializing the interaction loop.

B

by - Variable in class amadeus.workspace.Deadline
The due date/time of the deadline task.
BYE_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "bye" command.
ByeCommand - Class in amadeus.cognition
Command to exit the Amadeus application.
ByeCommand() - Constructor for class amadeus.cognition.ByeCommand
 

C

CHECK_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "check" command.
CheckCommand - Class in amadeus.cognition
Command to filter tasks based on a date or date range.
CheckCommand(String) - Constructor for class amadeus.cognition.CheckCommand
Constructs a new CheckCommand by parsing the user input for the date or date range.
Command - Class in amadeus.cognition
Abstract base class for all commands in the Amadeus application.
Command() - Constructor for class amadeus.cognition.Command
 
COMMAND_LIST - Static variable in class amadeus.perception.Parser
Constant representing the "commands" command.
CommandList - Class in amadeus.cognition
Command to display the list of available commands.
CommandList() - Constructor for class amadeus.cognition.CommandList
 

D

Database - Class in amadeus.brain
Manages the storage and retrieval of tasks in the Amadeus application.
Database() - Constructor for class amadeus.brain.Database
 
DateConverter - Class in amadeus.perception
A utility class for parsing and formatting dates and date-times.
DateConverter() - Constructor for class amadeus.perception.DateConverter
 
Deadline - Class in amadeus.workspace
Represents a task with a specific deadline.
Deadline(String, boolean, Object) - Constructor for class amadeus.workspace.Deadline
Constructs a Deadline task with a name, completion status, and due date/time.
Deadline(String, Object) - Constructor for class amadeus.workspace.Deadline
Constructs a Deadline task with a name and due date/time.
DEADLINE_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "deadline" command.
DeadlineCommand - Class in amadeus.cognition
Command to add a new Deadline task to the task list.
DeadlineCommand(String) - Constructor for class amadeus.cognition.DeadlineCommand
Constructs a new DeadlineCommand by parsing the user input.
DELETE_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "delete" command.
DeleteCommand - Class in amadeus.cognition
Command to delete a task from the task list.
DeleteCommand(String) - Constructor for class amadeus.cognition.DeleteCommand
Constructs a new DeleteCommand by parsing the user input.
deleteTask(int) - Static method in class amadeus.workspace.TaskList
Deletes a task from the task list based on the provided index.

E

errorLoadingTask(String) - Static method in exception amadeus.brain.AmadeusException
Creates an exception for errors while loading tasks from the file.
errorParsingTask(String) - Static method in exception amadeus.brain.AmadeusException
Creates an exception for errors while parsing a task from the saved file.
errorSavingTask(String) - Static method in exception amadeus.brain.AmadeusException
Creates an exception for errors while saving tasks to the file.
Event - Class in amadeus.workspace
Represents a scheduled event task with a start and end time.
Event(String, boolean, Object, Object) - Constructor for class amadeus.workspace.Event
Constructs an Event task with a name, completion status, start time, and end time.
Event(String, Object, Object) - Constructor for class amadeus.workspace.Event
Constructs an Event task with a name, start time, and end time.
EVENT_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "event" command.
EventCommand - Class in amadeus.cognition
Command to add a new Event task to the task list.
EventCommand(String) - Constructor for class amadeus.cognition.EventCommand
Constructs a new EventCommand by parsing the user input.
execute() - Method in class amadeus.cognition.ByeCommand
Displays a farewell message and terminates the application.
execute() - Method in class amadeus.cognition.CheckCommand
Executes the command by displaying the filtered tasks.
execute() - Method in class amadeus.cognition.Command
Executes the command.
execute() - Method in class amadeus.cognition.CommandList
Displays the list of available commands to the console.
execute() - Method in class amadeus.cognition.DeadlineCommand
Executes the command by adding the Deadline task to the task list.
execute() - Method in class amadeus.cognition.DeleteCommand
Executes the command by deleting the task at the specified index from the task list.
execute() - Method in class amadeus.cognition.EventCommand
Executes the command by adding the Event task to the task list.
execute() - Method in class amadeus.cognition.FindCommand
Executes the command by displaying the tasks that match the keyword.
execute() - Method in class amadeus.cognition.ListCommand
Displays the current list of tasks to the console.
execute() - Method in class amadeus.cognition.MarkCommand
Executes the command by marking the task at the specified index as complete or incomplete.
execute() - Method in class amadeus.cognition.ResetCommand
Resets the task list by clearing all tasks and updating the database.
execute() - Method in class amadeus.cognition.ToDoCommand
Executes the command by adding the ToDo task to the task list.
extractIndex(String) - Static method in class amadeus.perception.NumberConverter
Extracts a task index from the provided argument.

F

FILE_PATH - Static variable in class amadeus.brain.Database
The file path where tasks are saved and loaded from.
FIND_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "find" command.
FindCommand - Class in amadeus.cognition
Command to search for tasks in the task list that match a keyword.
FindCommand(String) - Constructor for class amadeus.cognition.FindCommand
Constructs a new FindCommand by parsing the user input for the keyword.
formatDate(Object) - Static method in class amadeus.perception.DateConverter
Formats a date or date-time object into a user-friendly string.
from - Variable in class amadeus.workspace.Event
The start date/time of the event.

G

getBy() - Method in class amadeus.workspace.Deadline
Returns the due date/time of the deadline task.
getDetails() - Method in class amadeus.workspace.Deadline
Returns the details of the Deadline task, including the due date/time.
getDetails() - Method in class amadeus.workspace.Event
Returns the details of the Event task, including the start and end times.
getDetails() - Method in class amadeus.workspace.Task
Returns the details of the task.
getDetails() - Method in class amadeus.workspace.ToDo
Returns the details of the ToDo task.
getDone() - Method in class amadeus.workspace.Task
Returns the completion status of the task.
getFrom() - Method in class amadeus.workspace.Event
Returns the start date/time of the event.
getName() - Method in class amadeus.workspace.Task
Returns the name or description of the task.
getTaskList() - Static method in class amadeus.workspace.TaskList
Returns the current saved Task List

I

invalidCheck() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid check command format.
invalidCommand() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid command was entered.
invalidDate() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid date format.
invalidDeadline() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid deadline format.
invalidEvent() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid event format.
invalidEventTime() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid event time range.
invalidIndex() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an out-of-bounds task index.
invalidNumber() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating an invalid task index format.
invalidTaskType(String) - Static method in exception amadeus.brain.AmadeusException
Creates an exception for an unrecognized task type found in the saved file.
isBye() - Method in class amadeus.cognition.ByeCommand
Indicates that this command is a termination command.
isBye() - Method in class amadeus.cognition.Command
Checks if the command is a termination command (e.g., bye).
isDone - Variable in class amadeus.workspace.Task
The completion status of the task (true if complete, false if incomplete).

L

LIST_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "list" command.
ListCommand - Class in amadeus.cognition
Command to display the current list of tasks.
ListCommand() - Constructor for class amadeus.cognition.ListCommand
 
load() - Static method in class amadeus.brain.Database
Loads tasks from the file and returns them as a list of Task objects.

M

main(String[]) - Static method in class amadeus.Amadeus
The main method that serves as the program's entry point.
main(String[]) - Static method in class amadeus.perception.DateConverter
Main method for testing the DateConverter class.
main(String[]) - Static method in class amadeus.perception.NumberConverter
Main method for testing the NumberConverter class.
MARK_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "mark" command.
MarkCommand - Class in amadeus.cognition
Command to mark a task as complete or incomplete.
MarkCommand(String, boolean) - Constructor for class amadeus.cognition.MarkCommand
Constructs a new MarkCommand by parsing the user input.
markDone(int, boolean) - Static method in class amadeus.workspace.TaskList
Marks a task as complete or incomplete based on the provided index.
missingArgument(String) - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating a required argument is missing.
missingNumber() - Static method in exception amadeus.brain.AmadeusException
Creates an exception indicating a missing task index.

N

name - Variable in class amadeus.workspace.Task
The name or description of the task.
NumberConverter - Class in amadeus.perception
A utility class for converting written number words into their numeric equivalents.
NumberConverter() - Constructor for class amadeus.perception.NumberConverter
 

P

parse(String) - Static method in class amadeus.perception.Parser
Parses the user's input and returns the corresponding Command object.
parseDate(String) - Static method in class amadeus.perception.DateConverter
Parses a date string into a LocalDate or LocalDateTime object.
Parser - Class in amadeus.perception
Handles the parsing of user input into executable commands.
Parser() - Constructor for class amadeus.perception.Parser
 
parseSave(String) - Static method in class amadeus.brain.Database
Parses a line from the file into a Task object.
printTask() - Method in class amadeus.workspace.Task
Prints the task's name and completion status to the console.

R

RESET_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "reset" command.
ResetCommand - Class in amadeus.cognition
Command to reset the task list.
ResetCommand() - Constructor for class amadeus.cognition.ResetCommand
 
resetList() - Static method in class amadeus.workspace.TaskList
Resets the task list by clearing all tasks.

S

save(ArrayList<Task>) - Static method in class amadeus.brain.Database
Saves the current list of tasks to a file.
sayCommands() - Static method in class amadeus.personality.Speech
Displays the list of available commands to the user.
sayGoodbye() - Static method in class amadeus.personality.Speech
Displays the farewell message when the Amadeus application is exiting.
sayLine() - Static method in class amadeus.personality.Speech
Prints a visual divider line to the console.
sayList(ArrayList<Task>) - Static method in class amadeus.personality.Speech
Displays the current list of tasks to the user, organized by type (Deadlines, Events, ToDos).
saySlowly(String, int) - Static method in class amadeus.personality.Speech
Prints text to the console with a typing effect, simulating a character-by-character display.
sayTaskAdded(Task, String) - Static method in class amadeus.personality.Speech
Notifies the user that a task has been successfully added to the list.
sayTaskDeleted(int) - Static method in class amadeus.personality.Speech
Notifies the user that a task has been successfully deleted from the list.
sayTaskMarked(int, boolean) - Static method in class amadeus.personality.Speech
Notifies the user that a task has been marked as complete or incomplete.
sayTaskReset() - Static method in class amadeus.personality.Speech
Notifies the user that all tasks have been reset and the task list is now empty.
sayWelcome() - Static method in class amadeus.personality.Speech
Displays the welcome message when the Amadeus application starts.
scanner - Static variable in class amadeus.Amadeus
Scanner object for reading user input from the console.
Speech - Class in amadeus.personality
Handles the user interface (UI) and speech interactions for the Amadeus application.
Speech() - Constructor for class amadeus.personality.Speech
 

T

Task - Class in amadeus.workspace
Abstract base class representing a generic task.
Task(String) - Constructor for class amadeus.workspace.Task
Initializes a new Task with the given name.
Task(String, boolean) - Constructor for class amadeus.workspace.Task
Initializes a new Task with the given name and completion status.
taskList - Static variable in class amadeus.workspace.TaskList
ArrayList to store all tasks, categorized by type (Deadline, Event, ToDo, etc.).
TaskList - Class in amadeus.workspace
Manages the list of tasks in the Amadeus application.
TaskList() - Constructor for class amadeus.workspace.TaskList
 
to - Variable in class amadeus.workspace.Event
The end date/time of the event.
ToDo - Class in amadeus.workspace
Represents a simple task with no specific date or time constraints.
ToDo(String) - Constructor for class amadeus.workspace.ToDo
Constructs a ToDo task with a given name or description.
ToDo(String, boolean) - Constructor for class amadeus.workspace.ToDo
Constructs a ToDo task with a given name and completion status.
TODO_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "todo" command.
ToDoCommand - Class in amadeus.cognition
Command to add a new ToDo task to the task list.
ToDoCommand(String) - Constructor for class amadeus.cognition.ToDoCommand
Constructs a new ToDoCommand by parsing the user input.
toFileFormat() - Method in class amadeus.workspace.Deadline
Converts the Deadline task to a file-friendly format.
toFileFormat() - Method in class amadeus.workspace.Event
Converts the Event task to a file-friendly format.
toFileFormat() - Method in class amadeus.workspace.Task
Converts the task to a file-friendly format.
toFileFormat() - Method in class amadeus.workspace.ToDo
Converts the ToDo task to a file-friendly format.
toString() - Method in class amadeus.workspace.Deadline
Returns a string representation of the Deadline, including its name and due date/time.
toString() - Method in class amadeus.workspace.Event
Returns a string representation of the Event, including its name, start time, and end time.
toString() - Method in class amadeus.workspace.Task
Returns a string representation of the task, which is its name.

U

UNMARK_COMMAND - Static variable in class amadeus.perception.Parser
Constant representing the "unmark" command.
updateDone(boolean) - Method in class amadeus.workspace.Task
Updates the completion status of the task.

W

wordToNumber(String) - Static method in class amadeus.perception.NumberConverter
Converts a number written in words into its integer representation.
A B C D E F G I L M N P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form