public interface NotificationCommand
| Modifier and Type | Method and Description |
|---|---|
NotificationKey |
getNotificationKey()
Gets a notification key associated with the notification command.
|
AbstractNotificationPlugin |
getPlugin()
Gets a plugin associated with the notification command.
|
void |
processDigest(NotificationContext ctx,
Writer writer)
Builds a digest message which is sent daily or weekly.
|
MessageInfo |
processMessage(NotificationContext ctx)
Builds information of a message from the notification context.
|
NotificationInfo |
processNotification(NotificationContext ctx)
Builds information of a notification from the notification context.
|
AbstractNotificationPlugin getPlugin()
NotificationKey getNotificationKey()
MessageInfo processMessage(NotificationContext ctx)
ctx - The notification context.NotificationInfo processNotification(NotificationContext ctx)
ctx - The notification context.void processDigest(NotificationContext ctx, Writer writer)
ctx - The notification context.writer - Stores the digest message.Copyright © 2003–2015 eXo Platform SAS. All rights reserved.