public interface IProcessLauncherHook
ProcessBuilder
before a new subprocess is spawned.Modifier and Type | Field and Description |
---|---|
static IProcessLauncherHook |
NULL_HOOK
No-op IProcessLauncherHook
|
Modifier and Type | Method and Description |
---|---|
void |
afterLaunch(Process p)
Called after a new process is spawned.
|
void |
beforeLaunch(ProcessBuilder pb)
Called before a new process is spawned.
|
static final IProcessLauncherHook NULL_HOOK
void beforeLaunch(ProcessBuilder pb) throws IOException
pb
- - ProcessBuilder instanceIOException
- on errorvoid afterLaunch(Process p) throws IOException
p
- - Process instanceIOException
- on error"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"