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 theVersionfrom theVersionHistorythat match the given label
-
-
Constructor Summary
Constructors Constructor Description RemoveVersionByLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetLabelKey()StringgetPathKey()voidsetLabelKey(String versionNameKey)voidsetPathKey(String pathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein 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
-
getLabelKey
public String getLabelKey()
- Returns:
- the version name key
-
setLabelKey
public void setLabelKey(String versionNameKey)
- Parameters:
versionNameKey- the version name key to set
-
-