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 booleancanEqual(Object other)booleanequals(Object o)inthashCode()booleanisHandled()Whether or not the handler was qualified and processed the handle requestbooleanisStop()Whether or not other handlers should be allowed to process as well, or if handling should stop nowStringtoString()
-
-
-
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)
-
-