| Constructor and Description |
|---|
EmailNotifier() |
| Modifier and Type | Method and Description |
|---|---|
NotificationType |
getNotificationType()
Indicates the type of notifications sent by this notifier
|
void |
initialize(NotificationConfig notificationConfig)
Initializes the Notifier to be able to set up connects to begin
performing notification operations.
|
void |
notify(String subject,
String message,
String... emailAddrs)
Sends a notification to a destination
|
void |
notifyAdmins(String subject,
String message)
Sends a notification to configured admins
|
protected void |
setAdminEmails(List<String> adminEmails)
Intended for testing only
|
protected void |
setEmailer(Emailer emailer)
Intended for testing only
|
public void initialize(NotificationConfig notificationConfig)
Notifierinitialize in interface Notifierprotected void setEmailer(Emailer emailer)
public NotificationType getNotificationType()
NotifiergetNotificationType in interface Notifierpublic void notify(String subject, String message, String... emailAddrs)
Notifierpublic void notifyAdmins(String subject, String message)
NotifiernotifyAdmins in interface Notifiersubject - the subject of the notificationmessage - the actual notification messageCopyright © 2009–2020 LYRASIS. All rights reserved.