| Package | Description |
|---|---|
| org.zeroturnaround.exec | |
| org.zeroturnaround.exec.stop |
| Modifier and Type | Method and Description |
|---|---|
ProcessExecutor |
ProcessExecutor.stopper(ProcessStopper stopper)
Sets the helper for stopping the process in case of timeout or cancellation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DestroyProcessStopper
Default
ProcessStopper implementation that just invokes Process.destroy(). |
class |
NopProcessStopper
ProcessStopper implementation that does nothing - it keeps the process running. |
| Modifier and Type | Field and Description |
|---|---|
static ProcessStopper |
DestroyProcessStopper.INSTANCE
Singleton instance of the
DestroyProcessStopper. |
static ProcessStopper |
NopProcessStopper.INSTANCE
Singleton instance of the
NopProcessStopper. |
Copyright © 2020 ZeroTurnaround. All rights reserved.