forked from nus-cs2113-AY2324S2/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 #231 from daryltay415/master
Update ppp
- Loading branch information
Showing
36 changed files
with
453 additions
and
422 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# About us | ||
Display | Name | Github Profile | Portfolio | ||
--------|:-------------------:|:---------------------------------------------:|:---------: | ||
![](https://via.placeholder.com/100.png?text=Photo) | Eugene Chan Jiajun | [Github](https://github.com/EugeneChanJiajun) | [Portfolio](docs/team/eugenechanjiajun.md) | ||
![](https://via.placeholder.com/100.png?text=Photo) | Daryl Tay | [Github](https://github.com/daryltay415) | [Portfolio](docs/team/daryltay415.md) | ||
![](https://via.placeholder.com/100.png?text=Photo) | Annie Xu | [Github](https://github.com/annnniexu) | [Portfolio](docs/team/annnniexu.md) | ||
![](https://via.placeholder.com/100.png?text=Photo) | Chin Yan Xu | [Github](https://github.com/ChinYanXu) | [Portfolio](docs/team/ChinYanXu.md) | ||
![](https://via.placeholder.com/100.png?text=Photo) | Chen Kang | [Github](https://github.com/ChenKangg) | [Portfolio](docs/team/ChenKangg.md) | ||
| Display | Name | Github Profile | Portfolio | | ||
|----------------------------------------------------:|:------------------:|:---------------------------------------------:|:-------------------------------------:| | ||
| ![](https://via.placeholder.com/100.png?text=Photo) | Eugene Chan Jiajun | [Github](https://github.com/EugeneChanJiajun) | [Portfolio](team/eugenechanjiajun.md) | | ||
| ![](https://via.placeholder.com/100.png?text=Photo) | Daryl Tay | [Github](https://github.com/daryltay415) | [Portfolio](team/daryltay415.md) | | ||
| ![](https://via.placeholder.com/100.png?text=Photo) | Annie Xu | [Github](https://github.com/annnniexu) | [Portfolio](team/annnniexu.md) | | ||
| ![](https://via.placeholder.com/100.png?text=Photo) | Chin Yan Xu | [Github](https://github.com/ChinYanXu) | [Portfolio](team/ChinYanXu.md) | | ||
| ![](https://via.placeholder.com/100.png?text=Photo) | Chen Kang | [Github](https://github.com/ChenKangg) | [Portfolio](team/ChenKangg.md) | | ||
|
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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
46 changes: 23 additions & 23 deletions
46
docs/team/ArchitectureDiagram.puml → ...lantUML diagrams/ArchitectureDiagram.puml
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
@startuml | ||
'https://plantuml.com/component-diagram | ||
|
||
|
||
|
||
Actor User as user | ||
|
||
user ..> [omnitravel] | ||
|
||
[omnitravel] --> "passes data"[parser] | ||
[omnitravel] --> "Load/save"[storage] | ||
[omnitravel] --> "uses" [ui] | ||
[parser] --> "uses" [ui] | ||
[parser] --> "uses" [exchangerateapi] | ||
[parser] --> "uses" [errorhandlers] | ||
[storage] --> "uses" [travelactivitytype] | ||
[travelactivitytype] --> "uses" [ui] | ||
[travelactivitytype] --> "uses" [errorhandlers] | ||
[errorhandlers] --> "uses" [ui] | ||
[parser] --> "uses" [travelactivitytype] | ||
folder "omni.txt" as folder | ||
folder .. [storage] | ||
|
||
@startuml | ||
'https://plantuml.com/component-diagram | ||
|
||
|
||
|
||
Actor User as user | ||
|
||
user ..> [omnitravel] | ||
|
||
[omnitravel] --> "passes data"[parser] | ||
[omnitravel] --> "Load/save"[storage] | ||
[omnitravel] --> "uses" [ui] | ||
[parser] --> "uses" [ui] | ||
[parser] --> "uses" [exchangerateapi] | ||
[parser] --> "uses" [errorhandlers] | ||
[storage] --> "uses" [travelactivitytype] | ||
[travelactivitytype] --> "uses" [ui] | ||
[travelactivitytype] --> "uses" [errorhandlers] | ||
[errorhandlers] --> "uses" [ui] | ||
[parser] --> "uses" [travelactivitytype] | ||
folder "omni.txt" as folder | ||
folder .. [storage] | ||
|
||
@enduml |
58 changes: 29 additions & 29 deletions
58
docs/team/Errorhandler.puml → docs/plantUML diagrams/Errorhandler.puml
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 |
---|---|---|
@@ -1,30 +1,30 @@ | ||
@startuml | ||
'https://plantuml.com/class-diagram | ||
skinparam packageStyle rectangle | ||
hide class members | ||
package errorhandlers{ | ||
class CheckParameters | ||
class OmniException | ||
class Exception | ||
} | ||
|
||
package travelactivitytypes{ | ||
} | ||
|
||
package parser{ | ||
} | ||
|
||
package ui{ | ||
} | ||
|
||
|
||
|
||
|
||
OmniException --|> Exception | ||
CheckParameters ..> OmniException | ||
CheckParameters --> ui | ||
parser --> CheckParameters | ||
travelactivitytypes --> CheckParameters | ||
|
||
|
||
@startuml | ||
'https://plantuml.com/class-diagram | ||
skinparam packageStyle rectangle | ||
hide class members | ||
package errorhandlers{ | ||
class CheckParameters | ||
class OmniException | ||
class Exception | ||
} | ||
|
||
package travelactivitytypes{ | ||
} | ||
|
||
package parser{ | ||
} | ||
|
||
package ui{ | ||
} | ||
|
||
|
||
|
||
|
||
OmniException --|> Exception | ||
CheckParameters ..> OmniException | ||
CheckParameters --> ui | ||
parser --> CheckParameters | ||
travelactivitytypes --> CheckParameters | ||
|
||
|
||
@enduml |
120 changes: 60 additions & 60 deletions
120
docs/team/FileSaveSequence.puml → docs/plantUML diagrams/FileSaveSequence.puml
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 |
---|---|---|
@@ -1,61 +1,61 @@ | ||
@startuml | ||
actor User | ||
participant "readFile()" as readFile | ||
participant "loadFileContents(TravelActivityList list)" as loadFileContents | ||
participant "accommodation:Accommodation" as Accommodation | ||
participant "food:Food" as Food | ||
participant "landmark:Landmark" as Landmark | ||
participant "list:TravelActivityList" as TravelActivityList | ||
participant "SetActivityStatus" as SetActivityStatus | ||
participant "s:Scanner" as Scanner | ||
|
||
User -> readFile: readFile() | ||
activate readFile | ||
readFile -> loadFileContents: loadFileContents(list) | ||
activate loadFileContents | ||
|
||
loop scanner | ||
loadFileContents -> Scanner: hasNext() | ||
activate Scanner | ||
Scanner --> loadFileContents: next | ||
deactivate Scanner | ||
alt Accomodation | ||
loadFileContents -> Accommodation: list.addTravelActivity(accommodation) | ||
activate Accommodation | ||
Accommodation -> TravelActivityList: list.addTravelActivity(accommodation) | ||
activate TravelActivityList | ||
TravelActivityList --> Accommodation: added activity | ||
deactivate TravelActivityList | ||
Accommodation -> SetActivityStatus: setActivityStatus() | ||
activate SetActivityStatus | ||
SetActivityStatus --> Accommodation: Status handled | ||
deactivate SetActivityStatus | ||
else Food | ||
loadFileContents -> Food: list.addTravelActivity(food) | ||
activate Food | ||
Food -> TravelActivityList: list.addTravelActivity(food) | ||
activate TravelActivityList | ||
TravelActivityList --> Food: added activity | ||
deactivate TravelActivityList | ||
Food -> SetActivityStatus: setActivityStatus() | ||
activate SetActivityStatus | ||
SetActivityStatus --> Food: Status handled | ||
deactivate SetActivityStatus | ||
else Landmark | ||
loadFileContents -> Landmark: list.addTravelActivity(landmark) | ||
activate Landmark | ||
Landmark -> TravelActivityList: list.addTravelActivity(landmark) | ||
activate TravelActivityList | ||
TravelActivityList --> Landmark: added activity | ||
deactivate TravelActivityList | ||
Landmark -> SetActivityStatus: setActivityStatus() | ||
activate SetActivityStatus | ||
SetActivityStatus --> Landmark: Status handled | ||
deactivate SetActivityStatus | ||
end | ||
end | ||
deactivate TravelActivityList | ||
deactivate loadFileContents | ||
deactivate readFile | ||
|
||
@startuml | ||
actor User | ||
participant "readFile()" as readFile | ||
participant "loadFileContents(TravelActivityList list)" as loadFileContents | ||
participant "accommodation:Accommodation" as Accommodation | ||
participant "food:Food" as Food | ||
participant "landmark:Landmark" as Landmark | ||
participant "list:TravelActivityList" as TravelActivityList | ||
participant "SetActivityStatus" as SetActivityStatus | ||
participant "s:Scanner" as Scanner | ||
|
||
User -> readFile: readFile() | ||
activate readFile | ||
readFile -> loadFileContents: loadFileContents(list) | ||
activate loadFileContents | ||
|
||
loop scanner | ||
loadFileContents -> Scanner: hasNext() | ||
activate Scanner | ||
Scanner --> loadFileContents: next | ||
deactivate Scanner | ||
alt Accomodation | ||
loadFileContents -> Accommodation: list.addTravelActivity(accommodation) | ||
activate Accommodation | ||
Accommodation -> TravelActivityList: list.addTravelActivity(accommodation) | ||
activate TravelActivityList | ||
TravelActivityList --> Accommodation: added activity | ||
deactivate TravelActivityList | ||
Accommodation -> SetActivityStatus: setActivityStatus() | ||
activate SetActivityStatus | ||
SetActivityStatus --> Accommodation: Status handled | ||
deactivate SetActivityStatus | ||
else Food | ||
loadFileContents -> Food: list.addTravelActivity(food) | ||
activate Food | ||
Food -> TravelActivityList: list.addTravelActivity(food) | ||
activate TravelActivityList | ||
TravelActivityList --> Food: added activity | ||
deactivate TravelActivityList | ||
Food -> SetActivityStatus: setActivityStatus() | ||
activate SetActivityStatus | ||
SetActivityStatus --> Food: Status handled | ||
deactivate SetActivityStatus | ||
else Landmark | ||
loadFileContents -> Landmark: list.addTravelActivity(landmark) | ||
activate Landmark | ||
Landmark -> TravelActivityList: list.addTravelActivity(landmark) | ||
activate TravelActivityList | ||
TravelActivityList --> Landmark: added activity | ||
deactivate TravelActivityList | ||
Landmark -> SetActivityStatus: setActivityStatus() | ||
activate SetActivityStatus | ||
SetActivityStatus --> Landmark: Status handled | ||
deactivate SetActivityStatus | ||
end | ||
end | ||
deactivate TravelActivityList | ||
deactivate loadFileContents | ||
deactivate readFile | ||
|
||
@enduml |
Oops, something went wrong.