Class SelectProfileView

java.lang.Object
org.strassburger.subscriptionmanager.view.profiles.SelectProfileView

public class SelectProfileView extends Object
  • Constructor Details

    • SelectProfileView

      public SelectProfileView()
  • Method Details

    • sendStartMessage

      public void sendStartMessage()
    • readProfileId

      public int readProfileId(List<Profile> profiles)
      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()