|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Notifier
Interface to send notifications. If an implementation of this interface is passed to the converters, then may (over time) be modified to call the Notifier's sendNotification method.
An implementation will typically provide a customized implementation of the interface, which will be passed to the converter.
Field Summary | |
---|---|
static int |
ERROR
An error notification--used as third argument to sendNotification |
static int |
INFORMATIONAL
An informational notification--used as third argument to sendNotification |
static int |
WARNING
A warning notification--used as third argument to sendNotification |
Method Summary | |
---|---|
void |
sendNotification(java.lang.String noticeID,
java.lang.String origin,
int severity,
java.lang.String notice)
Send a notification |
Field Detail |
---|
static final int INFORMATIONAL
static final int WARNING
static final int ERROR
Method Detail |
---|
void sendNotification(java.lang.String noticeID, java.lang.String origin, int severity, java.lang.String notice) throws ConversionNotificationException
noticeID
- The identifier of this notice.origin
- The origin (originator) of the notice.severity
- The severity of the notice.notice
- The text of the message to send.
ConversionNotificationException
- If unable to send the notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |