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 TypeMethodDescriptionvoid
sendNotification
(@NotNull Notification notification) Send off the notification of this transport type.
-
Method Details
-
sendNotification
Send off the notification of this transport type.- Parameters:
notification
- object (used to generate notification content)
-