| Package | Description |
|---|---|
| org.zeroturnaround.exec | |
| org.zeroturnaround.exec.listener |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessExecutor |
ProcessExecutor.removeListeners(Class<? extends ProcessListener> listenerType)
Unregister existing process event handlers of given type or its sub-types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeProcessListener
Composite process event handler.
|
class |
DestroyerListenerAdapter
Process event handler that wraps a process destroyer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeProcessListener.add(ProcessListener listener)
Add new listener.
|
void |
CompositeProcessListener.remove(ProcessListener listener)
Remove existing listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeProcessListener.removeAll(Class<? extends ProcessListener> type)
Remove existing listeners of given type or its sub-types.
|
| Constructor and Description |
|---|
CompositeProcessListener(List<ProcessListener> children) |
Copyright © 2020 ZeroTurnaround. All rights reserved.