Interface NotificationTransport

All Known Implementing Classes:
ImTransport, MultipartEmailTransport, TextEmailTransport, WebhookTransport

public interface NotificationTransport
Represents a notification medium or transport. Responsible for sending notifications via that medium.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendNotification(@NotNull Notification notification)
    Send off the notification of this transport type.
  • Method Details

    • sendNotification

      void sendNotification(@NotNull @NotNull Notification notification)
      Send off the notification of this transport type.
      Parameters:
      notification - object (used to generate notification content)