Class RetryHandlerStatus

java.lang.Object
com.broadleafcommerce.common.messaging.notification.RetryHandlerStatus

public class RetryHandlerStatus extends Object
Status description of a retry handler lifecycle event.
See Also:
  • RetryHandler#status(Consumer)
  • Constructor Details

    • RetryHandlerStatus

      public RetryHandlerStatus(RetryHandler source, RetryHandlerStatusType status, NotificationStateRepository repository, String messageType)
      Creates a new RetryHandlerStatus instance.
      Parameters:
      source - The handler responsible for the activity
      status - The lifecycle event type being reported
      repository - The repository associated with the durable notification state for the message
      messageType - The unique identifier for the type of message being handled
  • Method Details

    • getSource

      public RetryHandler getSource()
      The handler responsible for the activity
    • getStatus

      public RetryHandlerStatusType getStatus()
      The lifecycle event type being reported
    • getRepository

      public NotificationStateRepository getRepository()
      The repository associated with the durable notification state for the message
    • getMessageType

      public String getMessageType()
      The unique identifier for the type of message being handled
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object