Save This Page
Home » commons-chain-1.2-src » org.apache.commons » chain » impl » [javadoc | source]
org.apache.commons.chain.impl
public class: AddingCommand [javadoc | source]
java.lang.Object
   org.apache.commons.chain.impl.NonDelegatingCommand
      org.apache.commons.chain.impl.AddingCommand

All Implemented Interfaces:
    Command

Implementation of Command that logs its identifier and and attempts to add a new Command to the Chain . This should cause an IllegalStateException if the Chain implementation subclasses ChainBase.

Fields inherited from org.apache.commons.chain.impl.NonDelegatingCommand:
id
Constructor:
 public AddingCommand() 
 public AddingCommand(String id,
    Chain parent) 
Method from org.apache.commons.chain.impl.AddingCommand Summary:
execute
Methods from org.apache.commons.chain.impl.NonDelegatingCommand:
execute,   getId,   log,   setId
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.chain.impl.AddingCommand Detail:
 public boolean execute(Context context,
    Chain chain) throws Exception