org.apache.velocity.app.event
Class NullSetEventHandler.ShouldLogOnNullSetExecutor

java.lang.Object
  extended by org.apache.velocity.app.event.NullSetEventHandler.ShouldLogOnNullSetExecutor
All Implemented Interfaces:
EventHandlerMethodExecutor
Enclosing interface:
NullSetEventHandler

public static class NullSetEventHandler.ShouldLogOnNullSetExecutor
extends Object
implements EventHandlerMethodExecutor

Defines the execution strategy for shouldLogOnNullSet

Since:
1.5

Method Summary
 void execute(EventHandler handler)
          Call the method shouldLogOnNullSet()
 Object getReturnValue()
          Get return value at end of all the iterations
 boolean isDone()
          Called after execute() to see if iterating should stop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(EventHandler handler)
Call the method shouldLogOnNullSet()

Specified by:
execute in interface EventHandlerMethodExecutor
Parameters:
handler - call the appropriate method on this handler

getReturnValue

public Object getReturnValue()
Description copied from interface: EventHandlerMethodExecutor
Get return value at end of all the iterations

Specified by:
getReturnValue in interface EventHandlerMethodExecutor
Returns:
null if no return value is required

isDone

public boolean isDone()
Description copied from interface: EventHandlerMethodExecutor
Called after execute() to see if iterating should stop. Should always return false before method execute() is run.

Specified by:
isDone in interface EventHandlerMethodExecutor
Returns:
true if no more event handlers for this method should be called.


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.