Interface UserNotificationOperationBuilder.Growl

All Superinterfaces:
UserNotificationOperationBuilder.WithDuration<UserNotificationOperationBuilder.Growl>, UserNotificationOperationBuilder.WithHtmlIcon<UserNotificationOperationBuilder.Growl>, UserNotificationOperationBuilder.WithTitle<UserNotificationOperationBuilder.Growl>, UserNotificationOperationBuilder.WithType<UserNotificationOperationBuilder.Growl>, UserNotificationOperationBuilder.WithUserIcon<UserNotificationOperationBuilder.Growl>
Enclosing interface:
UserNotificationOperationBuilder

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

    • text

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

      This method returns a UserNotificationOperationBuilder.Growl.Html instance which is able to display a user notification with a html message. 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 growl notification
      Returns:
      the UserNotificationOperationBuilder.Growl.Html
      Throws:
      ValidationException - if the html message is not valid
      Since:
      12.13