Class ListenerNotification


  • public class ListenerNotification
    extends java.lang.Object
    Track notification for a specific listener.
    • Field Detail

      • attempts

        public int attempts
        The number of attempts to deliver.
      • lastAttempt

        public java.util.Date lastAttempt
        Time of the last attempt.
    • Constructor Detail

      • ListenerNotification

        public ListenerNotification​(NotificationEvent event)
        Create a new ListenerNotification.
        Parameters:
        event - the notification to deliver.
    • Method Detail

      • getProductId

        public ProductId getProductId()
        Returns:
        the product id from the notification.