Interface EventHandlerMethodExecutor

    • Method Detail

      • execute

        void execute​(EventHandler handler)
              throws java.lang.Exception
        Execute the event handler method. If Object is not null, do not iterate further through the handler chain. If appropriate, the returned Object will be the return value.
        Parameters:
        handler - call the appropriate method on this handler
        Throws:
        java.lang.Exception - generic exception potentially thrown by event handlers
      • isDone

        boolean isDone()
        Called after execute() to see if iterating should stop. Should always return false before method execute() is run.
        Returns:
        true if no more event handlers for this method should be called.
      • getReturnValue

        java.lang.Object getReturnValue()
        Get return value at end of all the iterations
        Returns:
        null if no return value is required