Interface NotificationSender


public interface NotificationSender
Service for sending notifications.
Since:
2.18.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    send(Notification notification)
    Sends the notification to the current user.
    void
    send(Notification notification, String recipient)
    Sends the notification to a specific user.
  • Method Details

    • send

      void send(Notification notification, String recipient)
      Sends the notification to a specific user.
      Parameters:
      notification - notification to send
      recipient - username of the receiving user
    • send

      default void send(Notification notification)
      Sends the notification to the current user.
      Parameters:
      notification - notification to send