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

public class AddProfileView extends Object
  • Constructor Details

    • AddProfileView

      public AddProfileView()
  • Method Details

    • sendStartMessage

      public void sendStartMessage()
    • readName

      public String readName(org.strassburger.tui4j.input.validationrules.ValidationRule<String> nameAlreadyExistsValidationRule)
      Reads the name of the profile from the user.
      Parameters:
      nameAlreadyExistsValidationRule - the validation rule that checks if the name already exists
      Returns:
      the name of the profile
    • showErrorMessage

      public void showErrorMessage()
    • showSuccessMessage

      public void showSuccessMessage()