org.apache.jackrabbit.standalone.cli.version
Class RemoveVersionByLabel
java.lang.Object
org.apache.jackrabbit.standalone.cli.version.RemoveVersionByLabel
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class RemoveVersionByLabel
- extends Object
- implements org.apache.commons.chain.Command
Remove the Version
from the VersionHistory
that
match the given label
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveVersionByLabel
public RemoveVersionByLabel()
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
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.