Package org.zeroturnaround.exec.listener
Class DestroyerListenerAdapter
java.lang.Object
org.zeroturnaround.exec.listener.ProcessListener
org.zeroturnaround.exec.listener.DestroyerListenerAdapter
Process event handler that wraps a process destroyer.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterStart(Process process, ProcessExecutor executor) Invoked after a process has started.voidInvoked after a process has exited (whether finished or cancelled).Methods inherited from class org.zeroturnaround.exec.listener.ProcessListener
afterFinish, beforeStart
-
Field Details
-
destroyer
-
-
Constructor Details
-
DestroyerListenerAdapter
-
-
Method Details
-
afterStart
Description copied from class:ProcessListenerInvoked after a process has started.- Overrides:
afterStartin classProcessListener- Parameters:
process- the process started.executor- executor used for starting the process. Modifying theProcessExecutoronly affects the following processes not the one just started.
-
afterStop
Description copied from class:ProcessListenerInvoked after a process has exited (whether finished or cancelled).- Overrides:
afterStopin classProcessListener- Parameters:
process- process just stopped.
-