Interface NotificationManager.NotificationRequest

All Known Implementing Classes:
NotificationManagerImpl.NotificationRequestImpl
Enclosing interface:
NotificationManager

public static interface NotificationManager.NotificationRequest
Object describes notification (or set of notifications) that should be sent.
  • Method Details

    • getSubject

      String getSubject()
      Gets subject of notification.
      Returns:
      subject
    • getBody

      @Nullable String getBody()
      Gets main message of notification.
      Returns:
      body
    • getContentType

      ContentType getContentType()
      Gets content type for notification body.
      Returns:
      content type
    • getRecipients

      Collection<org.springframework.security.core.userdetails.UserDetails> getRecipients()
      Gets collection of users-recipients.
      Returns:
      collection of users
    • getType

      @Nullable NotificationType getType()
      Gets notification type
      Returns:
      notification type
    • getChannels

      Gets notification channels.
      Returns:
      collection of notification channels