Class Restore
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.version.Restore
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class Restore extends Object implements org.apache.commons.chain.Command
Restore aNode
to the state of the givenVersion
-
-
Constructor Summary
Constructors Constructor Description Restore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getPathKey()
String
getRemoveExistingKey()
String
getVersionKey()
void
setPathKey(String pathKey)
void
setRemoveExistingKey(String removeExistingKey)
void
setVersionKey(String versionNameKey)
-
-
-
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
-
getVersionKey
public String getVersionKey()
- Returns:
- the version name key
-
setVersionKey
public void setVersionKey(String versionNameKey)
- Parameters:
versionNameKey
- the version name key to set
-
-