Package | Description |
---|---|
org.apache.tapestry5.alerts |
Support for a standard way of presenting alerts to the user, via the
AlertManager service combined with the
Alerts component. |
org.apache.tapestry5.internal.alerts |
[INTERNAL USE ONLY] support classes for Alerts; API subject to change
|
Modifier and Type | Field and Description |
---|---|
Severity |
Alert.severity |
Modifier and Type | Method and Description |
---|---|
static Severity |
Severity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Severity[] |
Severity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertManager.alert(Duration duration,
Severity severity,
String message)
Adds an alert with configurable severity and duration.
|
void |
AlertManager.alert(Duration duration,
Severity severity,
String message,
boolean markup)
Adds an alert with configurable severity and duration.
|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
AlertManagerImpl.alert(Duration duration,
Severity severity,
String message) |
void |
AlertManagerImpl.alert(Duration duration,
Severity severity,
String message,
boolean markup) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.