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

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

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

Restore a Node to the state of the Version with the specified label


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

Constructor Detail

RestoreByLabel

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

getLabelKey

public String getLabelKey()
Returns:
the version name key

setLabelKey

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


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