Interface NotificationService
public interface NotificationService
-
Method Summary
Modifier and TypeMethodDescriptionvoiddigest(NotificationContext context) Collects information of a digest message and sends it daily or weekly.voidprocess(Collection<NotificationInfo> notifications) Processes information when a list of notification messages are created.voidprocess(NotificationInfo notification) Processes information when a notification message is created.
-
Method Details
-
process
Processes information when a notification message is created.- Parameters:
notification- The notification message.- Throws:
Exception
-
digest
Collects information of a digest message and sends it daily or weekly.- Throws:
Exception
-
process
Processes information when a list of notification messages are created.- Parameters:
notifications- The list of notification messages.- Throws:
Exception
-