public interface Notifier
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... destinations)
Sends a notification to a destination
|
void |
notifyAdmins(String subject,
String message)
Sends a notification to configured admins
|
void initialize(NotificationConfig notificationConfig)
notificationConfig
- NotificationType getNotificationType()
void notify(String subject, String message, String... destinations)
subject
- the subject of the notificationmessage
- the actual notification messagedestinations
- where the notification is to go, could be an
email address, a URL address, etc.Copyright © 2009–2014 DuraSpace. All rights reserved.