Class RestoreByLabel
- java.lang.Object
-
- 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 aNodeto the state of theVersionwith the specified label
-
-
Constructor Summary
Constructors Constructor Description RestoreByLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetLabelKey()StringgetPathKey()StringgetRemoveExistingKey()voidsetLabelKey(String versionNameKey)voidsetPathKey(String pathKey)voidsetRemoveExistingKey(String removeExistingKey)
-
-
-
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
-
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
-
-