public class RestoreByLabel extends Object implements org.apache.commons.chain.Command
Node to the state of the Version with
 the specified label| Constructor and Description | 
|---|
| RestoreByLabel() | 
| Modifier and Type | Method and 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) | 
public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception
execute in interface org.apache.commons.chain.CommandExceptionpublic 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 getLabelKey()
public void setLabelKey(String versionNameKey)
versionNameKey - the version name key to setCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.