Package org.jvnet.hudson.test
Interface FakeLauncher
-
public interface FakeLauncherFake a process launch.- Author:
- Kohsuke Kawaguchi
- See Also:
PretendSlave
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFakeLauncher.FinishedProcFakeProcimplementation that represents a completed process.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description hudson.ProconLaunch(hudson.Launcher.ProcStarter p)Called whenever aPretendSlaveis asked to fork a new process.
-
-
-
Method Detail
-
onLaunch
hudson.Proc onLaunch(hudson.Launcher.ProcStarter p) throws IOExceptionCalled whenever aPretendSlaveis asked to fork a new process.The callee can inspect the
Launcher.ProcStarterobject to determine what process is being launched, and if necessary, fake a process launch by either returning a validProcobject, or let the normal process launch happen by returning null.- Throws:
IOException
-
-