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 aNodeto the state of the givenVersion
-
-
Constructor Summary
Constructors Constructor Description Restore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetPathKey()StringgetRemoveExistingKey()StringgetVersionKey()voidsetPathKey(String pathKey)voidsetRemoveExistingKey(String removeExistingKey)voidsetVersionKey(String versionNameKey)
-
-
-
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
-
getVersionKey
public String getVersionKey()
- Returns:
- the version name key
-
setVersionKey
public void setVersionKey(String versionNameKey)
- Parameters:
versionNameKey- the version name key to set
-
-