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

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

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

Remove a label from the VersionHistory


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

Constructor Detail

RemoveVersionLabel

public RemoveVersionLabel()
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:
returns the path key

setPathKey

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

getLabelKey

public String getLabelKey()
Returns:
the version label key.

setLabelKey

public void setLabelKey(String versionLabelKey)
Parameters:
versionLabelKey - the version label key to set


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