|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FakeLauncher
Fake a process launch.
PretendSlave,
MockFakeLauncher| Nested Class Summary | |
|---|---|
static class |
FakeLauncher.FinishedProc
Fake Proc implementation that represents a completed process. |
| Method Summary | |
|---|---|
Proc |
onLaunch(Launcher.ProcStarter p)
Called whenever a PretendSlave is asked to fork a new process. |
| Method Detail |
|---|
Proc onLaunch(Launcher.ProcStarter p)
throws java.io.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 FakeLauncher.FinishedProc object, or let
the normal process launch happen by returning null.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||