|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.alerts.AlertManagerImpl
public class AlertManagerImpl
| Constructor Summary | |
|---|---|
AlertManagerImpl(ApplicationStateManager asm,
Request request,
AjaxResponseRenderer ajaxResponseRenderer,
PerthreadManager perThreadManager)
|
|
| Method Summary | |
|---|---|
void |
alert(Duration duration,
Severity severity,
String message)
Adds an alert with configurable severity and duration. |
void |
error(String message)
Adds an Severity.ERROR alert with the default duration, Duration.SINGLE. |
void |
info(String message)
Adds an Severity.INFO alert with the default duration, Duration.SINGLE. |
void |
warn(String message)
Adds an Severity.WARN alert with the default duration, Duration.SINGLE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlertManagerImpl(ApplicationStateManager asm,
Request request,
AjaxResponseRenderer ajaxResponseRenderer,
PerthreadManager perThreadManager)
| Method Detail |
|---|
public void info(String message)
AlertManagerSeverity.INFO alert with the default duration, Duration.SINGLE.
info in interface AlertManagermessage - to present to the userpublic void warn(String message)
AlertManagerSeverity.WARN alert with the default duration, Duration.SINGLE.
warn in interface AlertManagermessage - to present to the userpublic void error(String message)
AlertManagerSeverity.ERROR alert with the default duration, Duration.SINGLE.
error in interface AlertManagermessage - to present to the user
public void alert(Duration duration,
Severity severity,
String message)
AlertManager
alert in interface AlertManagerduration - controls how long the alert is presented to the userseverity - controls how the alert is presented to the usermessage - to present to the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||