Class SelectProfileView
java.lang.Object
org.strassburger.subscriptionmanager.view.profiles.SelectProfileView
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintreadProfileId(List<Profile> profiles) Reads the profile id from the user.voidvoid
-
Constructor Details
-
SelectProfileView
public SelectProfileView()
-
-
Method Details
-
sendStartMessage
public void sendStartMessage() -
readProfileId
Reads the profile id from the user.- Parameters:
profiles- The list of profiles to choose from.- Returns:
- The id of the selected profile or -1 if the user wants to exit or 0 if the user wants to manage profiles.
-
showGoodbyeMessage
public void showGoodbyeMessage()
-