Uses of Class
org.zeroturnaround.exec.listener.ProcessListener
Packages that use ProcessListener
-
Uses of ProcessListener in org.zeroturnaround.exec
Fields in org.zeroturnaround.exec declared as ProcessListenerModifier and TypeFieldDescriptionprivate final ProcessListener
WaitForProcess.listener
Process event listener (notnull
).Methods in org.zeroturnaround.exec with parameters of type ProcessListenerModifier and TypeMethodDescriptionProcessExecutor.addListener
(ProcessListener listener) Register new process event handler.ProcessExecutor.listener
(ProcessListener listener) Unregister all existing process event handlers and register new one.ProcessExecutor.removeListener
(ProcessListener listener) Unregister existing process event handler.Method parameters in org.zeroturnaround.exec with type arguments of type ProcessListenerModifier and TypeMethodDescriptionProcessExecutor.removeListeners
(Class<? extends ProcessListener> listenerType) Unregister existing process event handlers of given type or its sub-types.Constructors in org.zeroturnaround.exec with parameters of type ProcessListenerModifierConstructorDescriptionWaitForProcess
(Process process, ProcessAttributes attributes, ProcessStopper stopper, ProcessCloser closer, ByteArrayOutputStream out, ProcessListener listener, MessageLogger messageLogger) -
Uses of ProcessListener in org.zeroturnaround.exec.listener
Subclasses of ProcessListener in org.zeroturnaround.exec.listenerModifier and TypeClassDescriptionclass
Composite process event handler.class
Process event handler that wraps a process destroyer.Fields in org.zeroturnaround.exec.listener with type parameters of type ProcessListenerModifier and TypeFieldDescriptionprivate final List
<ProcessListener> CompositeProcessListener.children
Methods in org.zeroturnaround.exec.listener with parameters of type ProcessListenerModifier and TypeMethodDescriptionvoid
CompositeProcessListener.add
(ProcessListener listener) Add new listener.void
CompositeProcessListener.remove
(ProcessListener listener) Remove existing listener.Method parameters in org.zeroturnaround.exec.listener with type arguments of type ProcessListenerModifier and TypeMethodDescriptionvoid
CompositeProcessListener.removeAll
(Class<? extends ProcessListener> type) Remove existing listeners of given type or its sub-types.Constructor parameters in org.zeroturnaround.exec.listener with type arguments of type ProcessListener