|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.chain.generic.RemoveCommand
Remove any context attribute stored under the fromKey.
| Field Summary |
| Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
| Constructor Summary | |
RemoveCommand()
|
|
| Method Summary | |
boolean |
execute(Context context)
Copy the specified source attribute to the specified destination attribute. |
String |
getFromKey()
Return the context attribute key for the attribute. |
void |
setFromKey(String fromKey)
Set the context attribute key for the attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RemoveCommand()
| Method Detail |
public String getFromKey()
Return the context attribute key for the attribute.
public void setFromKey(String fromKey)
Set the context attribute key for the attribute.
fromKey - The new key
public boolean execute(Context context)
throws Exception
Copy the specified source attribute to the specified destination attribute.
execute in interface Commandcontext - Context in which we are operating
false so that processing will continue
Exception - if and error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||