Class StandardNotification
java.lang.Object
dev.getelements.elements.service.notification.StandardNotification
- All Implemented Interfaces:
dev.getelements.elements.sdk.service.notification.Notification
public class StandardNotification
extends Object
implements dev.getelements.elements.sdk.service.notification.Notification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFunction<dev.getelements.elements.sdk.service.notification.NotificationParameters, Stream<dev.getelements.elements.sdk.service.notification.NotificationDestination>> dev.getelements.elements.sdk.service.notification.NotificationParametersvoidinitialize(dev.getelements.elements.sdk.service.notification.NotificationParameters notificationParameters) intsend(Consumer<dev.getelements.elements.sdk.service.notification.NotificationEvent> success, Consumer<Exception> failure) voidsetNotificationDestinationFactory(dev.getelements.elements.sdk.service.notification.NotificationDestinationFactory notificationDestinationFactory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.service.notification.Notification
send
-
Constructor Details
-
StandardNotification
public StandardNotification()
-
-
Method Details
-
initialize
public void initialize(dev.getelements.elements.sdk.service.notification.NotificationParameters notificationParameters) -
send
public int send(Consumer<dev.getelements.elements.sdk.service.notification.NotificationEvent> success, Consumer<Exception> failure) - Specified by:
sendin interfacedev.getelements.elements.sdk.service.notification.Notification
-
getNotificationParameters
public dev.getelements.elements.sdk.service.notification.NotificationParameters getNotificationParameters() -
getNotificationDestinationFactory
-
setNotificationDestinationFactory
@Inject public void setNotificationDestinationFactory(dev.getelements.elements.sdk.service.notification.NotificationDestinationFactory notificationDestinationFactory)
-