public class SshPutTaskFactory extends SshPutTaskStub implements TaskFactory<SshPutTaskWrapper>
Constructor and Description |
---|
SshPutTaskFactory(SshMachineLocation machine,
java.lang.String remoteFile)
convenience constructor to supply machine immediately
|
SshPutTaskFactory(java.lang.String remoteFile)
constructor where machine will be added later
|
Modifier and Type | Method and Description |
---|---|
SshPutTaskFactory |
allowFailure() |
SshPutTaskFactory |
contents(byte[] contents) |
SshPutTaskFactory |
contents(java.io.InputStream stream) |
SshPutTaskFactory |
contents(java.io.Reader reader) |
SshPutTaskFactory |
contents(java.lang.String contents) |
SshPutTaskFactory |
createDirectory() |
SshPutTaskFactory |
machine(SshMachineLocation machine) |
SshPutTaskWrapper |
newTask() |
SshPutTaskFactory |
remoteFile(java.lang.String remoteFile) |
SshPutTaskFactory |
summary(java.lang.String summary) |
getMachine, getRemoteFile, getSummary
public SshPutTaskFactory(java.lang.String remoteFile)
public SshPutTaskFactory(SshMachineLocation machine, java.lang.String remoteFile)
public SshPutTaskFactory machine(SshMachineLocation machine)
public SshPutTaskFactory remoteFile(java.lang.String remoteFile)
public SshPutTaskFactory summary(java.lang.String summary)
public SshPutTaskFactory contents(java.lang.String contents)
public SshPutTaskFactory contents(byte[] contents)
public SshPutTaskFactory contents(java.io.InputStream stream)
public SshPutTaskFactory contents(java.io.Reader reader)
public SshPutTaskFactory allowFailure()
public SshPutTaskFactory createDirectory()
public SshPutTaskWrapper newTask()
newTask
in interface TaskFactory<SshPutTaskWrapper>