Package org.jvnet.hudson.test
Interface FakeLauncher
public interface FakeLauncher
Fake a process launch.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
FakeProc
implementation that represents a completed process. -
Method Summary
Modifier and TypeMethodDescriptionhudson.Proc
onLaunch
(hudson.Launcher.ProcStarter p) Called whenever aPretendSlave
is asked to fork a new process.
-
Method Details
-
onLaunch
Called whenever aPretendSlave
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 validProc
object, or let the normal process launch happen by returning null.- Throws:
IOException
-