public class SshFetchTaskFactory extends java.lang.Object implements TaskFactory<SshFetchTaskWrapper>
Constructor and Description |
---|
SshFetchTaskFactory(SshMachineLocation machine,
java.lang.String remoteFile)
convenience constructor to supply machine immediately
|
SshFetchTaskFactory(java.lang.String remoteFile)
constructor where machine will be added later
|
Modifier and Type | Method and Description |
---|---|
ConfigBag |
getConfig() |
SshMachineLocation |
getMachine() |
SshFetchTaskFactory |
machine(SshMachineLocation machine) |
SshFetchTaskWrapper |
newTask() |
SshFetchTaskFactory |
remoteFile(java.lang.String remoteFile) |
public SshFetchTaskFactory(java.lang.String remoteFile)
public SshFetchTaskFactory(SshMachineLocation machine, java.lang.String remoteFile)
public SshFetchTaskFactory machine(SshMachineLocation machine)
public SshMachineLocation getMachine()
public SshFetchTaskFactory remoteFile(java.lang.String remoteFile)
public ConfigBag getConfig()
public SshFetchTaskWrapper newTask()
newTask
in interface TaskFactory<SshFetchTaskWrapper>