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 Consumers and NotificationParameters to send
to each registered destination.-
Method Summary
Modifier and TypeMethodDescriptionvoidsend(NotificationParameters parameters, Consumer<NotificationEvent> success, Consumer<Exception> failure) Sends a notification using the suppliedNotificationParametersand calblack medhos.
-
Method Details
-
send
void send(NotificationParameters parameters, Consumer<NotificationEvent> success, Consumer<Exception> failure) Sends a notification using the suppliedNotificationParametersand calblack medhos.- Parameters:
parameters-success-failure-
-