|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.utils.Notifications
dk.netarkivet.common.utils.EMailNotifications
public class EMailNotifications
Delivers NetarchiveSuite notifications by email.
Field Summary | |
---|---|
static java.lang.String |
MAIL_RECEIVER_SETTING
settings.common.notifications.receiver: The setting for the receiver of email notifications. |
static java.lang.String |
MAIL_SENDER_SETTING
settings.common.notifications.sender: The setting for the sender of email notifications (and receiver of bounces). |
static java.lang.String |
MAIL_SUBJECTPREFIX_SETTING
settings.common.notifications.subjectPrefix: The subject prefix for the mail-notifications. |
Constructor Summary | |
---|---|
EMailNotifications()
|
Method Summary | |
---|---|
void |
notify(java.lang.String message,
NotificationType eventType,
java.lang.Throwable e)
Sends a notification including an exception. |
Methods inherited from class dk.netarkivet.common.utils.Notifications |
---|
notify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String MAIL_RECEIVER_SETTING
public static java.lang.String MAIL_SENDER_SETTING
public static java.lang.String MAIL_SUBJECTPREFIX_SETTING
Constructor Detail |
---|
public EMailNotifications()
Method Detail |
---|
public void notify(java.lang.String message, NotificationType eventType, java.lang.Throwable e)
notify
in class Notifications
message
- The message to notify about.eventType
- The type of notificatione
- The exception to notify about.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |