Class RemoveCommand
java.lang.Object
org.apache.commons.chain.generic.RemoveCommand
- All Implemented Interfaces:
Command
-
Field Summary
FieldsFields inherited from interface 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.
-