Interface UserNotificationOperationBuilder.Alert

All Superinterfaces:
UserNotificationOperationBuilder.WithDimensions<UserNotificationOperationBuilder.Alert>, UserNotificationOperationBuilder.WithDuration<UserNotificationOperationBuilder.Alert>
Enclosing interface:
UserNotificationOperationBuilder

This interface represents a specific builder to display a alert popup notification to a user.
Since:
12.13
  • Method Details

    • text

      This method returns a UserNotificationOperationBuilder.Alert.Text instance which is able to display a text alert popup notification to the user.
      Parameters:
      text - the text message of the alert popup notification
      Returns:
      the UserNotificationOperationBuilder.Alert.Text
      Throws:
      ValidationException - if the text message is not valid
      Since:
      12.13
    • html

      This method returns a UserNotificationOperationBuilder.Alert.Html instance which is able to display a html alert popup notification to the user. The parameter should only contain simple html elements like div, span, a, b. Not allowed are elements like iframe, embed, script, etc. Any type of script or event handler is also not allowed.
      Parameters:
      html - the html message of the alert popup notification
      Returns:
      the UserNotificationOperationBuilder.Alert.Html
      Throws:
      ValidationException - if the html message is not valid
      Since:
      12.13