Package main.Pages
Class SetPassword
java.lang.Object
main.Pages.Page
main.Pages.SetPassword
A Page to set password of user
- Since:
- 13-4-2023
-
Constructor Summary
ConstructorsConstructorDescriptionSetPassword(Page previousPage, String userID, String userType) Constructor of setPassword -
Method Summary
Modifier and TypeMethodDescriptionmain functionality of the pagevoidsetPassword(String newPassword, String filepath) Sets new password of userMethods inherited from class main.Pages.Page
getPreviousPage
-
Constructor Details
-
SetPassword
Constructor of setPassword- Parameters:
previousPage- previous page visiteduserID- user's IDuserType- type of user
-
-
Method Details
-
executable
main functionality of the page- Specified by:
executablein classPage- Returns:
- page
-
setPassword
Sets new password of user- Parameters:
newPassword- new password user inputtedfilepath- directory
-