Class DeleteProfileView
java.lang.Object
org.strassburger.subscriptionmanager.view.profiles.DeleteProfileView
-
Constructor Details
-
DeleteProfileView
public DeleteProfileView()
-
-
Method Details
-
sendStartMessage
public void sendStartMessage() -
readName
public String readName(org.strassburger.tui4j.input.validationrules.ValidationRule<String> nameDoesNotExistValidationRule) Reads the name of the profile from the user.- Parameters:
nameDoesNotExistValidationRule- the validation rule that checks if the name does not exist- Returns:
- the name of the profile
-
sendCancelMessage
public void sendCancelMessage() -
showErrorMessage
public void showErrorMessage() -
showSuccessMessage
public void showSuccessMessage()
-