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.StringfromKey-
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 booleanexecute(Context context)Copy the specified source attribute to the specified destination attribute.java.lang.StringgetFromKey()Return the context attribute key for the attribute.voidsetFromKey(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.
-
-