Interface UserNotificationOperationBuilder.Alert

    • Method Detail

      • text

        UserNotificationOperationBuilder.Alert.Text text​(java.lang.String text)
                                                  throws ValidationException
        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

        UserNotificationOperationBuilder.Alert.Html html​(java.lang.String html)
                                                  throws ValidationException
        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