public abstract class AbstractSshExecTaskFactory<T extends AbstractProcessTaskFactory<T,RET>,RET> extends AbstractProcessTaskFactory<T,RET> implements ProcessTaskFactory<RET>
ProcessTaskStub.ScriptReturnType
Constructor and Description |
---|
AbstractSshExecTaskFactory(SshMachineLocation machine,
java.lang.String... commands)
convenience constructor to supply machine immediately
|
AbstractSshExecTaskFactory(java.lang.String... commands)
constructor where machine will be added later
|
Modifier and Type | Method and Description |
---|---|
ProcessTaskWrapper<RET> |
newTask() |
add, add, addCompletionListener, allowingNonZeroExitCode, configure, configure, constructCustomizedTaskBuilder, environmentVariable, environmentVariables, machine, requiringExitCodeZero, requiringExitCodeZero, requiringZeroAndReturningStdout, returning, returning, returningIsExitCodeZero, runAsCommand, runAsRoot, runAsScript, summary
getCommands, getCompletionListeners, getMachine, getShellEnvironment, getSummary, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, add, addCompletionListener, allowingNonZeroExitCode, configure, configure, environmentVariable, environmentVariables, machine, requiringExitCodeZero, requiringExitCodeZero, requiringZeroAndReturningStdout, returning, returning, returningIsExitCodeZero, runAsCommand, runAsRoot, runAsScript, summary
public AbstractSshExecTaskFactory(java.lang.String... commands)
public AbstractSshExecTaskFactory(SshMachineLocation machine, java.lang.String... commands)
public ProcessTaskWrapper<RET> newTask()
newTask
in interface TaskFactory<ProcessTaskWrapper<RET>>