Interface NotificationCommand
-
public interface NotificationCommand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginKeygetNotificationKey()Gets a notification key associated with the notification command.BaseNotificationPlugingetPlugin()Gets a plugin associated with the notification command.NotificationInfoprocessNotification(NotificationContext ctx)Builds information of a notification from the notification context.
-
-
-
Method Detail
-
getPlugin
BaseNotificationPlugin getPlugin()
Gets a plugin associated with the notification command.- Returns:
- The notification plugin.
-
getNotificationKey
PluginKey getNotificationKey()
Gets a notification key associated with the notification command.- Returns:
- The notification key.
-
processNotification
NotificationInfo processNotification(NotificationContext ctx)
Builds information of a notification from the notification context.- Parameters:
ctx- The notification context.- Returns:
- The notification information.
-
-