public class Restore extends Object implements org.apache.commons.chain.Command
Node
to the state of the given Version
Constructor and Description |
---|
Restore() |
Modifier and Type | Method and 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) |
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
public String getPathKey()
public void setPathKey(String pathKey)
pathKey
- the path key to setpublic String getRemoveExistingKey()
public void setRemoveExistingKey(String removeExistingKey)
removeExistingKey
- the remove existing key to setpublic String getVersionKey()
public void setVersionKey(String versionNameKey)
versionNameKey
- the version name key to setCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.