| Package | Description |
|---|---|
| de.flapdoodle.embed.process.runtime | |
| de.flapdoodle.embed.process.types |
| Modifier and Type | Method and Description |
|---|---|
static ProcessControl |
ProcessControl.fromCommandLine(SupportConfig runtime,
List<String> commandLine,
boolean redirectErrorStream) |
static ProcessControl |
ProcessControl.start(SupportConfig runtime,
ProcessBuilder processBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static Consumer<ProcessControl> |
Processes.justWaitALittle() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ProcessControl.executeCommandLine(SupportConfig support,
List<String> commandLine,
Consumer<ProcessControl> beforeStop,
StreamProcessor output,
boolean redirectErrorStream) |
static boolean |
Processes.killProcess(SupportConfig support,
de.flapdoodle.os.Platform platform,
StreamProcessor output,
Consumer<ProcessControl> beforeStop,
long pid) |
static boolean |
Processes.termProcess(SupportConfig support,
de.flapdoodle.os.Platform platform,
StreamProcessor output,
Consumer<ProcessControl> beforeStop,
long pid) |
static boolean |
Processes.tryKillProcess(SupportConfig support,
de.flapdoodle.os.Platform platform,
StreamProcessor output,
Consumer<ProcessControl> beforeStop,
long pid) |
| Modifier and Type | Method and Description |
|---|---|
static Runnable |
RunningProcess.connectIOTo(ProcessControl process,
ProcessOutput processOutput) |
T |
RunningProcessFactory.startedWith(ProcessControl process,
ProcessOutput processOutput,
Path pidFile,
long timeout) |
| Constructor and Description |
|---|
RunningProcessImpl(ProcessControl process,
Path pidFile,
long timeout,
Runnable onStop) |
RunningProcessImpl(ProcessControl process,
ProcessOutput processOutput,
Path pidFile,
long timeout) |
Copyright © 2023. All rights reserved.