|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SCPAction
SCPAction that transfers files over an SSH connection or runs a remote command. If remote command is set, it takes precedence over transfer. If you don't already have ~/.ssh/id_rsa present, generate a key with the command 'ssh-keygen -t rsa -P '''. The null private key password allows for automated SSH connections.
Nested Class Summary | |
---|---|
static class |
SCPAction.SCPActionResult
The response from SCPAction that executes a remote command. |
Method Summary | |
---|---|
void |
setCompression(boolean compression)
Set the compression flag. |
void |
setDownload(boolean download)
Set the download flag. |
void |
setHost(String host)
Set the Host. |
void |
setLocalPath(String localPath)
Set the local path. |
void |
setPassword(String password)
Set the password used to authenticate username using the "password" authentication method and as a fallback basic challenge-response authentication. |
void |
setPrivateKey(String privateKey)
Set the fully qualified private key file name. |
void |
setRemoteCommand(String command)
Set the remote command. |
void |
setRemotePath(String remotePath)
Set the remote path. |
void |
setUsername(String username)
Set the username. |
Methods inherited from interface flux.Action |
---|
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
void setCompression(boolean compression)
compression
- compression.void setDownload(boolean download)
download
- download.void setHost(String host)
host
- name of the host where broker is running.void setLocalPath(String localPath)
localPath
- Local path.void setPassword(String password)
password
- password.void setPrivateKey(String privateKey)
privateKey
- private key.
IllegalArgumentException
- If private key is null or not available.void setRemoteCommand(String command)
command
- command.void setRemotePath(String remotePath)
remotePath
- Remote path.void setUsername(String username)
username
- username.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |