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

All Implemented Interfaces:
    Command

Direct Known Subclasses:
    DelegatingCommand, DelegatingFilter, ExceptionFilter, TestCommand, NonDelegatingFilter, AddingCommand, ExceptionCommand

Implementation of Command that simply logs its identifier and returns.

Field Summary
protected  String id     
Constructor:
 public NonDelegatingCommand() 
 public NonDelegatingCommand(String id) 
Method from org.apache.commons.chain.impl.NonDelegatingCommand Summary:
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.NonDelegatingCommand Detail:
 public boolean execute(Context context) throws Exception 
 String getId() 
 protected  void log(Context context,
    String id) 

    Log the specified id into a StringBuffer attribute named "log" in the specified context, creating it if necessary.

 public  void setId(String id)