org.apache.shale.clay.utils
Class FalseLookupCommand

java.lang.Object
  extended by org.apache.commons.chain.generic.LookupCommand
      extended by org.apache.shale.clay.utils.FalseLookupCommand
All Implemented Interfaces:
Command, Filter

public class FalseLookupCommand
extends LookupCommand

Very similar to the LookupCommand of commons chain, but the execute method return always false to continue the processing.

See Also:
LookupCommand

Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
FalseLookupCommand()
           
 
Method Summary
 boolean execute(Context context)
           
 
Methods inherited from class org.apache.commons.chain.generic.LookupCommand
getCatalogFactory, getCatalogName, getCommand, getName, getNameKey, isIgnoreExecuteResult, isIgnorePostprocessResult, isOptional, postprocess, setCatalogFactory, setCatalogName, setIgnoreExecuteResult, setIgnorePostprocessResult, setName, setNameKey, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FalseLookupCommand

public FalseLookupCommand()
Method Detail

execute

public boolean execute(Context context)
                throws Exception
Specified by:
execute in interface Command
Overrides:
execute in class LookupCommand
Parameters:
context - commons chains
Returns:
always false
Throws:
Exception - from nested command execution


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.