public class Copy extends Object implements org.apache.commons.chain.Command
Workspace
is unset it will create a copy of the
given Node
from the current working Workspace
.Constructor and Description |
---|
Copy() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context ctx) |
String |
getDestAbsPathKey() |
String |
getSrcAbsPathKey() |
String |
getSrcWorkspaceKey() |
void |
setDestAbsPathKey(String destAbsPathKey)
sets the destination absolute path key
|
void |
setSrcAbsPathKey(String srcAbsPathKey)
Sets the source absolute path key
|
void |
setSrcWorkspaceKey(String srcWorkspaceKey)
Sets the source
Workspace key |
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
public String getDestAbsPathKey()
public void setDestAbsPathKey(String destAbsPathKey)
destAbsPathKey
- the destination absolute path keypublic String getSrcAbsPathKey()
public void setSrcAbsPathKey(String srcAbsPathKey)
srcAbsPathKey
- the source absolute path keypublic String getSrcWorkspaceKey()
Workspace
keypublic void setSrcWorkspaceKey(String srcWorkspaceKey)
Workspace
keysrcWorkspaceKey
- the source Workspace
keyCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.