org.apache.jackrabbit.standalone.cli.version
Class Restore

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.version.Restore
All Implemented Interfaces:
org.apache.commons.chain.Command

public class Restore
extends Object
implements org.apache.commons.chain.Command

Restore a Node to the state of the given Version


Constructor Summary
Restore()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getPathKey()
           
 String getRemoveExistingKey()
           
 String getVersionKey()
           
 void setPathKey(String pathKey)
           
 void setRemoveExistingKey(String removeExistingKey)
           
 void setVersionKey(String versionNameKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restore

public Restore()
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

getPathKey

public String getPathKey()
Returns:
the path key

setPathKey

public void setPathKey(String pathKey)
Parameters:
pathKey - the path key to set

getRemoveExistingKey

public String getRemoveExistingKey()
Returns:
the remove existing key

setRemoveExistingKey

public void setRemoveExistingKey(String removeExistingKey)
Parameters:
removeExistingKey - the remove existing key to set

getVersionKey

public String getVersionKey()
Returns:
the version name key

setVersionKey

public void setVersionKey(String versionNameKey)
Parameters:
versionNameKey - the version name key to set


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