Interface NotificationDestination
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a single destination for
Notification
. As a single Profile
may have multiple
registration instances, this will accept the various Consumer
s and NotificationParameters
to send
to each registered destination.-
Method Summary
Modifier and TypeMethodDescriptionvoid
send
(NotificationParameters parameters, Consumer<NotificationEvent> success, Consumer<Exception> failure) Sends a notification using the suppliedNotificationParameters
and calblack medhos.
-
Method Details
-
send
void send(NotificationParameters parameters, Consumer<NotificationEvent> success, Consumer<Exception> failure) Sends a notification using the suppliedNotificationParameters
and calblack medhos.- Parameters:
parameters
-success
-failure
-
-