public class Alert extends Object implements Serializable
markup field is true,
the message is treated as HTML and used without any escaping.| Modifier and Type | Field and Description |
|---|---|
Duration |
duration |
long |
id
A unique id (unique within this JVM and execution), used to identify an alert (used primarily
when individually dismissing an alert).
|
boolean |
markup
Defines whether the message will be treated as HTML or not.
|
String |
message |
Severity |
severity |
| Constructor and Description |
|---|
Alert(Duration duration,
Severity severity,
String message) |
Alert(Duration duration,
Severity severity,
String message,
boolean markup) |
Alert(Severity severity,
String message)
Alert with default duration of
Duration.SINGLE. |
Alert(String message)
Alert with default duration of
Duration.SINGLE and default severity
of Severity.INFO. |
public final long id
public final boolean markup
public Alert(String message)
Duration.SINGLE and default severity
of Severity.INFO.public Alert(Severity severity, String message)
Duration.SINGLE.5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.