Class Clone
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.core.Clone
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class Clone extends Object implements org.apache.commons.chain.Command
Clone the givenNodeto anotherWorkspace
-
-
Constructor Summary
Constructors Constructor Description Clone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetDestAbsPathKey()StringgetRemoveExistingKey()StringgetSrcAbsPathKey()StringgetSrcWorkspaceKey()voidsetDestAbsPathKey(String destAbsPathKey)Sets the destination absolute path keyvoidsetRemoveExistingKey(String removeExistingKey)Set the remove existing key optionvoidsetSrcAbsPathKey(String srcAbsPathKey)Sets the source absolute path keyvoidsetSrcWorkspaceKey(String srcWorkspaceKey)Sets the sourceWorkspacekey
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getDestAbsPathKey
public String getDestAbsPathKey()
- Returns:
- the destination absolute path key
-
setDestAbsPathKey
public void setDestAbsPathKey(String destAbsPathKey)
Sets the destination absolute path key- Parameters:
destAbsPathKey- the destination absolute path key
-
getRemoveExistingKey
public String getRemoveExistingKey()
- Returns:
- the remove existing key option
-
setRemoveExistingKey
public void setRemoveExistingKey(String removeExistingKey)
Set the remove existing key option- Parameters:
removeExistingKey- the remove existing key option
-
getSrcAbsPathKey
public String getSrcAbsPathKey()
- Returns:
- the source absolute path key
-
setSrcAbsPathKey
public void setSrcAbsPathKey(String srcAbsPathKey)
Sets the source absolute path key- Parameters:
srcAbsPathKey- the source absolute path key
-
getSrcWorkspaceKey
public String getSrcWorkspaceKey()
- Returns:
- the source
Workspacekey
-
setSrcWorkspaceKey
public void setSrcWorkspaceKey(String srcWorkspaceKey)
Sets the sourceWorkspacekey- Parameters:
srcWorkspaceKey- the sourceWorkspacekey
-
-