Package org.apache.commons.chain.generic
Class RemoveCommand
- java.lang.Object
-
- org.apache.commons.chain.generic.RemoveCommand
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
fromKey
-
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
-
Constructor Summary
Constructors Constructor Description RemoveCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(Context context)
Copy the specified source attribute to the specified destination attribute.java.lang.String
getFromKey()
Return the context attribute key for the attribute.void
setFromKey(java.lang.String fromKey)
Set the context attribute key for the attribute.
-
-
-
Method Detail
-
getFromKey
public java.lang.String getFromKey()
Return the context attribute key for the attribute.
- Returns:
- The context attribute key.
-
setFromKey
public void setFromKey(java.lang.String fromKey)
Set the context attribute key for the attribute.
- Parameters:
fromKey
- The new key
-
execute
public boolean execute(Context context) throws java.lang.Exception
Copy the specified source attribute to the specified destination attribute.
-
-