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 aNode
to the state of theVersion
with the specified label
-
-
Constructor Summary
Constructors Constructor Description RestoreByLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getLabelKey()
String
getPathKey()
String
getRemoveExistingKey()
void
setLabelKey(String versionNameKey)
void
setPathKey(String pathKey)
void
setRemoveExistingKey(String removeExistingKey)
-
-
-
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
-
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
-
-