Class RemoveVersion
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.version.RemoveVersion
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class RemoveVersion extends Object implements org.apache.commons.chain.Command
Remove aVersion
from theVersionHistory
-
-
Constructor Summary
Constructors Constructor Description RemoveVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getNameKey()
String
getPathKey()
void
setNameKey(String versionNameKey)
void
setPathKey(String pathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.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
-
getNameKey
public String getNameKey()
- Returns:
- the version name key
-
setNameKey
public void setNameKey(String versionNameKey)
- Parameters:
versionNameKey
- the version name key to set
-
-