Class AlertManagerImpl

    • Method Detail

      • alert

        public void alert​(Duration duration,
                          Severity severity,
                          java.lang.String message)
        Description copied from interface: AlertManager
        Adds an alert with configurable severity and duration. Message isn't treated as HTML, being HTML-escaped.
        Specified by:
        alert in interface AlertManager
        Parameters:
        duration - controls how long the alert is presented to the user
        severity - controls how the alert is presented to the user
        message - to present to the user
      • alert

        public void alert​(Duration duration,
                          Severity severity,
                          java.lang.String message,
                          boolean markup)
        Description copied from interface: AlertManager
        Adds an alert with configurable severity and duration.
        Specified by:
        alert in interface AlertManager
        Parameters:
        duration - controls how long the alert is presented to the user
        severity - controls how the alert is presented to the user
        message - to present to the user
        markup - whether to treat the message as raw HTML (true) or escape it (false).