org.apache.commons.chain.config
Class TestCommand

java.lang.Object
  extended by org.apache.commons.chain.config.TestCommand
All Implemented Interfaces:
Command

public class TestCommand
extends Object
implements Command

Test implementation of Command that exposes configurable properties.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
TestCommand()
           
 
Method Summary
 boolean execute(Context context)
           
 String getBar()
           
 String getFoo()
           
 void setBar(String bar)
           
 void setFoo(String foo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCommand

public TestCommand()
Method Detail

getBar

public String getBar()

setBar

public void setBar(String bar)

getFoo

public String getFoo()

setFoo

public void setFoo(String foo)

execute

public boolean execute(Context context)
                throws Exception
Specified by:
execute in interface Command
Throws:
Exception


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