Package org.apache.commons.chain.generic
Class RemoveCommand
java.lang.Object
org.apache.commons.chain.generic.RemoveCommand
- All Implemented Interfaces:
Command
Remove any context attribute stored under the fromKey.
- Version:
- $Revision: 480477 $ $Date: 2006-11-29 08:34:52 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
-
Field Summary
FieldsFields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCopy the specified source attribute to the specified destination attribute.Return the context attribute key for the attribute.voidsetFromKey(String fromKey) Set the context attribute key for the attribute.
-
Field Details
-
fromKey
-
-
Constructor Details
-
RemoveCommand
public RemoveCommand()
-
-
Method Details
-
getFromKey
Return the context attribute key for the attribute.
- Returns:
- The context attribute key.
-
setFromKey
Set the context attribute key for the attribute.
- Parameters:
fromKey- The new key
-
execute
Copy the specified source attribute to the specified destination attribute.
-