Interface NotificationService


public interface NotificationService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Collects information of a digest message and sends it daily or weekly.
    void
    Processes information when a list of notification messages are created.
    void
    process(NotificationInfo notification)
    Processes information when a notification message is created.
  • Method Details

    • process

      void process(NotificationInfo notification) throws Exception
      Processes information when a notification message is created.
      Parameters:
      notification - The notification message.
      Throws:
      Exception
    • digest

      void digest(NotificationContext context) throws Exception
      Collects information of a digest message and sends it daily or weekly.
      Throws:
      Exception
    • process

      void process(Collection<NotificationInfo> notifications) throws Exception
      Processes information when a list of notification messages are created.
      Parameters:
      notifications - The list of notification messages.
      Throws:
      Exception