Skip to content

Commit

Permalink
Merge pull request #169 from Nid21cs/159-Update-DG-Task
Browse files Browse the repository at this point in the history
159 Update DG for TaskList Classes
  • Loading branch information
Nid21cs authored Oct 27, 2023
2 parents 11def61 + 76cfe1b commit 5fbe91a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,16 @@ The `Storage` component,
* inherits from both `ProfBookStorage` and `UserPrefStorage`, which means it can be treated as either one (if only the functionality of only one is needed).
* depends on some classes in the `Model` component (because the `ProfBookStorageManager` component's job is to save/retrieve objects that belong to the `Model`)

### Task component

**API** : [`TaskListManager`](https://github.com/AY2324S1-CS2103T-W15-2/tp/blob/master/src/main/java/seedu/address/model/profbook/TaskListManager.java)

<puml src="diagrams/TaskListClassDiagram.puml" width="550" />

The `TaskListManager` component,
* Manages all task operations for a given tasklist.
* Depends on classes in the LogicManager class.

### Command component

The `Command` component,
Expand Down
32 changes: 32 additions & 0 deletions docs/diagrams/TaskListClassDiagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
@startuml
!include style.puml
skinparam arrowThickness 1.1
skinparam arrowColor MODEL_COLOR
skinparam classBackgroundColor MODEL_COLOR
together {
package "Model" #F4F6F6 {
package "profbook" #F4F6F6 {
Class TaskListManager
}


package "taskmanager" #F4F6F6 {

Class TaskList

Class "{abstract}\nTask" as Task

Class Deadline

Class ToDo
}
}
Class HiddenOutside #FFFFFF
HiddenOutside .up.> TaskListManager

TaskListManager -right-> TaskList
TaskList --> Task
Task <|-- Deadline
Task <|-- ToDo

@enduml

0 comments on commit 5fbe91a

Please sign in to comment.