Uses of Class
org.zeroturnaround.exec.listener.ProcessListener
-
Packages that use ProcessListener Package Description org.zeroturnaround.exec org.zeroturnaround.exec.listener -
-
Uses of ProcessListener in org.zeroturnaround.exec
Fields in org.zeroturnaround.exec declared as ProcessListener Modifier and Type Field Description private ProcessListener
WaitForProcess. listener
Process event listener (notnull
).Methods in org.zeroturnaround.exec with parameters of type ProcessListener Modifier and Type Method Description ProcessExecutor
ProcessExecutor. addListener(ProcessListener listener)
Register new process event handler.ProcessExecutor
ProcessExecutor. listener(ProcessListener listener)
Unregister all existing process event handlers and register new one.ProcessExecutor
ProcessExecutor. removeListener(ProcessListener listener)
Unregister existing process event handler.Method parameters in org.zeroturnaround.exec with type arguments of type ProcessListener Modifier and Type Method Description ProcessExecutor
ProcessExecutor. removeListeners(java.lang.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 ProcessListener Constructor Description WaitForProcess(java.lang.Process process, ProcessAttributes attributes, ProcessStopper stopper, ProcessCloser closer, java.io.ByteArrayOutputStream out, ProcessListener listener, MessageLogger messageLogger)
-
Uses of ProcessListener in org.zeroturnaround.exec.listener
Subclasses of ProcessListener in org.zeroturnaround.exec.listener Modifier and Type Class Description class
CompositeProcessListener
Composite process event handler.class
DestroyerListenerAdapter
Process event handler that wraps a process destroyer.Fields in org.zeroturnaround.exec.listener with type parameters of type ProcessListener Modifier and Type Field Description private java.util.List<ProcessListener>
CompositeProcessListener. children
Methods in org.zeroturnaround.exec.listener with parameters of type ProcessListener Modifier and Type Method Description void
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 ProcessListener Modifier and Type Method Description void
CompositeProcessListener. removeAll(java.lang.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 Constructor Description CompositeProcessListener(java.util.List<ProcessListener> children)
-