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 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:
      send in interface dev.getelements.elements.sdk.service.notification.Notification
    • getNotificationParameters

      public dev.getelements.elements.sdk.service.notification.NotificationParameters getNotificationParameters()
    • getNotificationDestinationFactory

      public Function<dev.getelements.elements.sdk.service.notification.NotificationParameters,Stream<dev.getelements.elements.sdk.service.notification.NotificationDestination>> getNotificationDestinationFactory()
    • setNotificationDestinationFactory

      @Inject public void setNotificationDestinationFactory(dev.getelements.elements.sdk.service.notification.NotificationDestinationFactory notificationDestinationFactory)