public class DestroyerListenerAdapter extends ProcessListener
ProcessDestroyer| Constructor and Description |
|---|
DestroyerListenerAdapter(ProcessDestroyer destroyer) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterStart(Process process,
ProcessExecutor executor)
Invoked after a process has started.
|
void |
afterStop(Process process)
Invoked after a process has exited (whether finished or cancelled).
|
afterFinish, beforeStartpublic DestroyerListenerAdapter(ProcessDestroyer destroyer)
public void afterStart(Process process, ProcessExecutor executor)
ProcessListenerafterStart in class ProcessListenerprocess - the process started.executor - executor used for starting the process.
Modifying the ProcessExecutor only affects the following processes
not the one just started.public void afterStop(Process process)
ProcessListenerafterStop in class ProcessListenerprocess - process just stopped.Copyright © 2020 ZeroTurnaround. All rights reserved.