Class NotificationHandlerResponse

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

public class NotificationHandlerResponse extends Object
Response information from a NotificationHandler.handle(NotificationStateRepository, NotificationStateAware, MessageType) call. Indicates success and continuance parameters.
Author:
Jeff Fischer
  • Constructor Details

    • NotificationHandlerResponse

      public NotificationHandlerResponse(boolean handled, boolean stop)
  • Method Details

    • isHandled

      public boolean isHandled()
      Whether or not the handler was qualified and processed the handle request
      Returns:
      Whether or not the handler was qualified and processed the handle request
    • isStop

      public boolean isStop()
      Whether or not other handlers should be allowed to process as well, or if handling should stop now
      Returns:
      Whether or not other handlers should be allowed to process
    • 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