public interface AlertManager
Alerts (using the AlertStorage SSO.  The behavior of the service switches during
 an Ajax request to directly add JavaScript to present the alerts.| Modifier and Type | Method and Description | 
|---|---|
| void | alert(Duration duration,
     Severity severity,
     String message)Adds an alert with configurable severity and duration. | 
| void | alert(Duration duration,
     Severity severity,
     String message,
     boolean markup)Adds an alert with configurable severity and duration. | 
| void | error(String message)Adds an  Severity.ERRORalert with the default duration,Duration.SINGLE. | 
| void | info(String message)Adds an  Severity.INFOalert with the default duration,Duration.SINGLE. | 
| void | success(String message)Adds an  Severity.SUCCESSalert with the default duration,Duration.SINGLE. | 
| void | warn(String message)Adds an  Severity.WARNalert with the default duration,Duration.SINGLE. | 
void success(String message)
Severity.SUCCESS alert with the default duration, Duration.SINGLE.message - to present to the uservoid info(String message)
Severity.INFO alert with the default duration, Duration.SINGLE.message - to present to the uservoid warn(String message)
Severity.WARN alert with the default duration, Duration.SINGLE.message - to present to the uservoid error(String message)
Severity.ERROR alert with the default duration, Duration.SINGLE.message - to present to the uservoid alert(Duration duration, Severity severity, String message)
duration - controls how long the alert is presented to the userseverity - controls how the alert is presented to the usermessage - to present to the user@IncompatibleChange(details="Added in 5.4 in order to support HTML in alerts", release="5.4") void alert(Duration duration, Severity severity, String message, boolean markup)
duration - controls how long the alert is presented to the userseverity - controls how the alert is presented to the usermessage - to present to the usermarkup - whether to treat the message as raw HTML (true) or escape it (false).${project.version} - Copyright © 2003-2015 The Apache Software Foundation.