Package src.cli
Class StudentMenu
java.lang.Object
src.cli.StudentMenu
CLI for
Student-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ApplicationControllerprivate InternshipOpportunityControllerprivate Studentprivate UserController -
Constructor Summary
ConstructorsConstructorDescriptionStudentMenu(Student student, UserController userController, ApplicationController applicationController, InternshipOpportunityController internshipOpportunityController) Constructs aStudentMenuforStudentfrom the required controllers -
Method Summary
-
Field Details
-
student
-
userController
-
applicationController
-
internshipOpportunityController
-
-
Constructor Details
-
StudentMenu
public StudentMenu(Student student, UserController userController, ApplicationController applicationController, InternshipOpportunityController internshipOpportunityController) Constructs aStudentMenuforStudentfrom the required controllers- Parameters:
student- theStudentthat the CLI is foruserController- theUserControllerusedapplicationController- theApplicationControllerusedinternshipOpportunityController- theInternshipOpportunityControllerused
-
-
Method Details
-
runMenu
Displays the CLI menu forStudent.- Returns:
- the
Studentinstance after thestudentinteracts with the menu.
-
applyForInternshipOpportunities
private void applyForInternshipOpportunities() -
viewInternshipApplications
private void viewInternshipApplications() -
setFilter
private void setFilter() -
changePassword
private void changePassword()
-