Class UserNotificationManager

    • Constructor Detail

      • UserNotificationManager

        protected UserNotificationManager()
    • Method Detail

      • buildAndSend

        public void buildAndSend​(UserNotificationBuilder notificationBuilder)
        Builds a notification data container from a given builder. After that, sends the builded notification
        Parameters:
        notificationBuilder - the builder to use to construct the notification.
      • buildAndSend

        public void buildAndSend​(BuiltInNotifAddress notificationAddress,
                                 UserNotificationBuilder notificationBuilder)
        Builds a notification data container from a given builder. After that, sends the built notification to the specified builtin notification address.
        Parameters:
        notificationAddress - the address at which the notification should be sent.
        notificationBuilder - the builder to use to construct the notification.
      • build

        public NotificationMetaData build​(UserNotificationBuilder notificationBuilder)
        Builds a notification data container from a given builder
        Parameters:
        notificationBuilder - the builder to use to construct the notification.
        Returns:
        the metadata about the notification to send.