Class 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 Detail

      • NotificationHandlerResponse

        public NotificationHandlerResponse​(boolean handled,
                                           boolean stop)
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object