public interface FakeLauncher
PretendSlave| Modifier and Type | Interface and Description |
|---|---|
static class |
FakeLauncher.FinishedProc
Fake
Proc implementation that represents a completed process. |
| Modifier and Type | Method and Description |
|---|---|
hudson.Proc |
onLaunch(hudson.Launcher.ProcStarter p)
Called whenever a
PretendSlave is asked to fork a new process. |
hudson.Proc onLaunch(hudson.Launcher.ProcStarter p)
throws IOException
PretendSlave is asked to fork a new process.
The callee can inspect the Launcher.ProcStarter object to determine what process is being launched,
and if necessary, fake a process launch by either returning a valid Proc object, or let
the normal process launch happen by returning null.
IOExceptionCopyright © 2004–2015. All rights reserved.