forked from nus-cs2103-AY2122S1/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 #262 from AY2122S1-CS2103T-W13-2/jiahao/UGDG-update
Add PasswordCommand sequence diagram
- Loading branch information
Showing
5 changed files
with
61 additions
and
3 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
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,52 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
end box | ||
|
||
box Encryption | ||
participant "temp:EncryptionManager" as EncryptionManager1 ENCRYPTION_COLOR | ||
participant "new:EncryptionManager" as EncryptionManager2 ENCRYPTION_COLOR | ||
end box | ||
|
||
participant "<color:#red>**<<class>>**\n<color:#black>FileUtil" as FileUtil | ||
|
||
[-> LogicManager : executePasswordCommand(...) | ||
activate LogicManager | ||
|
||
create EncryptionManager1 | ||
LogicManager -> EncryptionManager1 | ||
activate EncryptionManager1 | ||
|
||
EncryptionManager1 --> LogicManager | ||
deactivate EncryptionManager1 | ||
|
||
create EncryptionManager2 | ||
LogicManager -> EncryptionManager2 | ||
activate EncryptionManager2 | ||
|
||
EncryptionManager2 --> LogicManager | ||
deactivate EncryptionManager2 | ||
|
||
LogicManager -> EncryptionManager1 : decrypt() | ||
activate EncryptionManager1 | ||
|
||
EncryptionManager1 --> LogicManager | ||
deactivate EncryptionManager1 | ||
|
||
LogicManager -> EncryptionManager2 : encrypt() | ||
activate EncryptionManager2 | ||
|
||
EncryptionManager2 --> LogicManager | ||
deactivate EncryptionManager2 | ||
|
||
LogicManager -> FileUtil : deleteFile() | ||
activate FileUtil | ||
|
||
FileUtil --> LogicManager | ||
deactivate FileUtil | ||
|
||
[<--LogicManager | ||
deactivate LogicManager | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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