org.apache.jackrabbit.standalone.cli.core
Class Clone

java.lang.Object
  extended by 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 given Node to another Workspace


Constructor Summary
Clone()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getDestAbsPathKey()
           
 String getRemoveExistingKey()
           
 String getSrcAbsPathKey()
           
 String getSrcWorkspaceKey()
           
 void setDestAbsPathKey(String destAbsPathKey)
          Sets the destination absolute path key
 void setRemoveExistingKey(String removeExistingKey)
          Set the remove existing key option
 void setSrcAbsPathKey(String srcAbsPathKey)
          Sets the source absolute path key
 void setSrcWorkspaceKey(String srcWorkspaceKey)
          Sets the source Workspace key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Clone

public Clone()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.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 Workspace key

setSrcWorkspaceKey

public void setSrcWorkspaceKey(String srcWorkspaceKey)
Sets the source Workspace key

Parameters:
srcWorkspaceKey - the source Workspace key


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.