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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sendNotification(@NotNull Notification notification)
Send off the notification of this transport type.
-
-
-
Method Detail
-
sendNotification
void sendNotification(@NotNull @NotNull Notification notification)
Send off the notification of this transport type.- Parameters:
notification
- object (used to generate notification content)
-
-