A task has several arguments. It contains a text describing what the assigned users or roles should do, it contains an ID which is used to identify the task in any command, and it has one of three states. It can optionally contain a deadline.
- Creation Date*
- Deletion Date**
- Repeat interval
- Next repeat date
- Repeat end date
- Assigned User(s)
- Assigned Role(s)
*The ID, creator and creation date are fixed values that can't be changed.
**The deletion date is set when the task is marked as deleted by executing
task delete command.
Each task is located in one of the states:
- Todo - The state with which each task starts. It means that no one has started working on the task.
- In Progress - This state means that someone has started working on the task.
- Done - The last state means that the task has been completed.
The deadline is set by executing the
task deadline command.
Tasks can be set to be repeated. This means the task will be moved to the
Todo state after it has been completed and
the interval has passed. The interval can be set to a specific amount of dates, between 1 and 365.
Once the interval is reached, the task will be checked if it has been completed. If it has, it will be moved to the
Todo state. If it hasn't, the task will not be moved, but the next check will happen after the set interval. This process
will repeat until the repeat end date is reached. If no repeat end date is set, the task will repeat forever.
In all lists, a repeating task will be marked with a