Class NotificationHandlerResponse
- java.lang.Object
-
- com.broadleafcommerce.common.messaging.notification.NotificationHandlerResponse
-
public class NotificationHandlerResponse extends Object
Response information from aNotificationHandler#handle(NotificationStateRepository, NotificationStateAware, MessageType)
call. Indicates success and continuance parameters.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description NotificationHandlerResponse(boolean handled, boolean stop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
int
hashCode()
boolean
isHandled()
Whether or not the handler was qualified and processed the handle requestboolean
isStop()
Whether or not other handlers should be allowed to process as well, or if handling should stop nowString
toString()
-
-
-
Method Detail
-
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
-
canEqual
protected boolean canEqual(Object other)
-
-