public class SystemProcessTaskFactory<T extends SystemProcessTaskFactory<T,RET>,RET> extends AbstractProcessTaskFactory<T,RET>
Modifier and Type | Class and Description |
---|---|
static class |
SystemProcessTaskFactory.ConcreteSystemProcessTaskFactory<RET>
concrete instance (for generics)
|
ProcessTaskStub.ScriptReturnType
Constructor and Description |
---|
SystemProcessTaskFactory(java.lang.String... commands) |
Modifier and Type | Method and Description |
---|---|
T |
directory(java.io.File directory) |
T |
loginShell(boolean loginShell) |
T |
machine(SshMachineLocation machine) |
ProcessTaskWrapper<RET> |
newTask() |
add, add, addCompletionListener, allowingNonZeroExitCode, configure, configure, constructCustomizedTaskBuilder, environmentVariable, environmentVariables, requiringExitCodeZero, requiringExitCodeZero, requiringZeroAndReturningStdout, returning, returning, returningIsExitCodeZero, runAsCommand, runAsRoot, runAsScript, summary
getCommands, getCompletionListeners, getMachine, getShellEnvironment, getSummary, toString
public SystemProcessTaskFactory(java.lang.String... commands)
public T directory(java.io.File directory)
public T loginShell(boolean loginShell)
public T machine(SshMachineLocation machine)
machine
in interface ProcessTaskFactory<RET>
machine
in class AbstractProcessTaskFactory<T extends SystemProcessTaskFactory<T,RET>,RET>
public ProcessTaskWrapper<RET> newTask()