forked from nus-cs2103-AY2324S1/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 branch 'master' into branch-documentation
- Loading branch information
Showing
79 changed files
with
2,114 additions
and
372 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@startuml | ||
'https://plantuml.com/activity-diagram-beta | ||
|
||
start | ||
:User executes sortScore command; | ||
if () then ([given graded component exists]) | ||
:student scores filtered and sorted; | ||
:students sorted accordingly; | ||
else ([else]) | ||
:a error message shows up; | ||
:user retypes the command; | ||
endif | ||
|
||
:Updated students and student scores list saved to ModuLight; | ||
|
||
stop | ||
|
||
@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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":ModuLightParser" as ModuLightParser LOGIC_COLOR | ||
participant ":SortStudentScoreCommandParser" as SortStudentScoreCommandParser LOGIC_COLOR | ||
participant "a:SortStudentScoreCommand" as SortStudentScoreCommand LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":Model" as Model MODEL_COLOR | ||
end box | ||
[-> LogicManager : execute(sortScore c/Midterm) | ||
activate LogicManager | ||
|
||
LogicManager -> ModuLightParser : parseCommand(sortScore c/Midterm) | ||
activate ModuLightParser | ||
|
||
create SortStudentScoreCommandParser | ||
ModuLightParser -> SortStudentScoreCommandParser :SortStudentScoreCommandParser() | ||
activate SortStudentScoreCommandParser | ||
|
||
SortStudentScoreCommandParser --> ModuLightParser | ||
deactivate SortStudentScoreCommandParser | ||
|
||
ModuLightParser -> SortStudentScoreCommandParser : parse(" c/Midterm") | ||
activate SortStudentScoreCommandParser | ||
|
||
create SortStudentScoreCommand | ||
SortStudentScoreCommandParser -> SortStudentScoreCommand | ||
activate SortStudentScoreCommand | ||
|
||
SortStudentScoreCommand --> SortStudentScoreCommandParser : s | ||
deactivate SortStudentScoreCommand | ||
|
||
SortStudentScoreCommandParser --> ModuLightParser : s | ||
deactivate SortStudentScoreCommandParser | ||
'Hidden arrow to position the destroy marker below the end of the activation bar. | ||
SortStudentScoreCommandParser -[hidden]-> ModuLightParser | ||
destroy SortStudentScoreCommandParser | ||
|
||
ModuLightParser --> LogicManager : s | ||
deactivate ModuLightParser | ||
|
||
LogicManager -> SortStudentScoreCommand : execute() | ||
activate SortStudentScoreCommand | ||
|
||
SortStudentScoreCommand -> Model : hasGc(GcName gcName) | ||
activate Model | ||
|
||
Model --> SortStudentScoreCommand | ||
deactivate Model | ||
|
||
SortStudentScoreCommand -> Model : sortStudentScore(GcName gcName, Boolean isReverse) | ||
activate Model | ||
|
||
|
||
Model --> SortStudentScoreCommand | ||
deactivate Model | ||
|
||
SortStudentScoreCommand --> LogicManager : result | ||
deactivate SortStudentScoreCommand | ||
SortStudentScoreCommand -[hidden]-> LogicManager : result | ||
destroy SortStudentScoreCommand | ||
|
||
[<--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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,4 @@ public String toString() { | |
.add("targetIndex", targetIndex) | ||
.toString(); | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.