forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from emmannyyy/Developer-Guide
Updates Developer guide
- Loading branch information
Showing
7 changed files
with
165 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR | ||
participant ":AddAssignmentCommandParser" as AddAssignmentCommandParser LOGIC_COLOR | ||
participant "a:AddAssignmentCommand" as AddAssignmentCommand LOGIC_COLOR | ||
participant "r:CommandResult" as CommandResult LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant "m:Model" as Model MODEL_COLOR | ||
end box | ||
|
||
[-> LogicManager : execute("add_assignment") | ||
activate LogicManager | ||
|
||
LogicManager -> AddressBookParser : parseCommand("add_assignment ") | ||
activate AddressBookParser | ||
|
||
create AddAssignmentCommandParser | ||
AddressBookParser -> AddAssignmentCommandParser | ||
activate AddAssignmentCommandParser | ||
|
||
AddAssignmentCommandParser --> AddressBookParser | ||
deactivate AddAssignmentCommandParser | ||
|
||
AddressBookParser -> AddAssignmentCommandParser : parse() | ||
activate AddAssignmentCommandParser | ||
|
||
|
||
create AddAssignmentCommand | ||
AddAssignmentCommandParser -> AddAssignmentCommand : AddAssignmentCommand() | ||
activate AddAssignmentCommand | ||
|
||
AddAssignmentCommand --> AddAssignmentCommandParser : | ||
deactivate AddAssignmentCommand | ||
|
||
AddAssignmentCommandParser --> AddressBookParser : d | ||
deactivate AddAssignmentCommandParser | ||
'Hidden arrow to destroy the marker below the end of the activation bar | ||
AddAssignmentCommandParser -[hidden]-> AddressBookParser | ||
destroy AddAssignmentCommandParser | ||
|
||
AddressBookParser --> LogicManager : d | ||
deactivate AddressBookParser | ||
|
||
LogicManager -> AddAssignmentCommand : execute(m) | ||
activate AddAssignmentCommand | ||
|
||
AddAssignmentCommand -> Model : | ||
Model --> AddAssignmentCommand | ||
|
||
create CommandResult | ||
AddAssignmentCommand -> CommandResult | ||
activate CommandResult | ||
|
||
CommandResult --> AddAssignmentCommand | ||
deactivate CommandResult | ||
|
||
AddAssignmentCommand --> LogicManager : r | ||
deactivate AddAssignmentCommand | ||
|
||
[<-- LogicManager | ||
deactivate LogicManager | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters