| Package | Description |
|---|---|
| de.flapdoodle.embed.process.config | |
| de.flapdoodle.embed.process.runtime | |
| de.flapdoodle.embed.process.transitions | |
| de.flapdoodle.embed.process.types |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableSupportConfig
Immutable implementation of
SupportConfig. |
| Modifier and Type | Method and Description |
|---|---|
static SupportConfig |
SupportConfig.generic() |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSupportConfig |
ImmutableSupportConfig.copyOf(SupportConfig instance)
Creates an immutable copy of a
SupportConfig value. |
ImmutableSupportConfig.Builder |
ImmutableSupportConfig.Builder.from(SupportConfig instance)
Fill a builder with attribute values from the provided
SupportConfig instance. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ProcessControl.executeCommandLine(SupportConfig support,
List<String> commandLine,
Consumer<ProcessControl> beforeStop,
StreamProcessor output,
boolean redirectErrorStream) |
static ProcessControl |
ProcessControl.fromCommandLine(SupportConfig runtime,
List<String> commandLine,
boolean redirectErrorStream) |
static boolean |
NUMA.isNUMA(SupportConfig support,
de.flapdoodle.os.Platform platform) |
static boolean |
NUMA.isNUMAOnce(SupportConfig support,
de.flapdoodle.os.Platform platform) |
static boolean |
Processes.killProcess(SupportConfig support,
de.flapdoodle.os.Platform platform,
StreamProcessor output,
Consumer<ProcessControl> beforeStop,
long pid) |
static boolean |
Processes.killProcess(SupportConfig support,
de.flapdoodle.os.Platform platform,
StreamProcessor output,
long pid) |
static ProcessControl |
ProcessControl.start(SupportConfig runtime,
ProcessBuilder processBuilder) |
static boolean |
Processes.termProcess(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,
long pid) |
static boolean |
Processes.tryKillProcess(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,
long pid) |
| Constructor and Description |
|---|
ProcessControl(SupportConfig runtime,
Process process) |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<SupportConfig> |
ImmutableStarter.supportConfig() |
protected de.flapdoodle.reverse.Transition<SupportConfig> |
ImmutableProcessFactory.supportConfig() |
de.flapdoodle.reverse.StateID<SupportConfig> |
ImmutableExecuter.supportConfig() |
de.flapdoodle.reverse.StateID<SupportConfig> |
Executer.supportConfig() |
de.flapdoodle.reverse.StateID<SupportConfig> |
RunAProcess.supportConfig() |
protected de.flapdoodle.reverse.Transition<SupportConfig> |
ProcessFactory.supportConfig() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableStarter.Builder<T> |
ImmutableStarter.Builder.supportConfig(de.flapdoodle.reverse.StateID<SupportConfig> supportConfig)
Initializes the value for the
supportConfig attribute. |
ImmutableExecuter.Builder<R,T> |
ImmutableExecuter.Builder.supportConfig(de.flapdoodle.reverse.StateID<SupportConfig> supportConfig)
Initializes the value for the
supportConfig attribute. |
ImmutableProcessFactory.Builder |
ImmutableProcessFactory.Builder.supportConfig(de.flapdoodle.reverse.Transition<SupportConfig> supportConfig)
Initializes the value for the
supportConfig attribute. |
ImmutableStarter<T> |
ImmutableStarter.withSupportConfig(de.flapdoodle.reverse.StateID<SupportConfig> value)
Copy the current immutable object by setting a value for the
supportConfig attribute. |
ImmutableExecuter<R,T> |
ImmutableExecuter.withSupportConfig(de.flapdoodle.reverse.StateID<SupportConfig> value)
Copy the current immutable object by setting a value for the
supportConfig attribute. |
ImmutableProcessFactory |
ImmutableProcessFactory.withSupportConfig(de.flapdoodle.reverse.Transition<SupportConfig> value)
Copy the current immutable object by setting a value for the
supportConfig attribute. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends RunningProcess> |
RunningProcess.start(RunningProcessFactory<T> runningProcessFactory,
Path workingDir,
Path executable,
List<String> arguments,
Map<String,String> environment,
ProcessConfig processConfig,
ProcessOutput outputConfig,
SupportConfig supportConfig) |
Copyright © 2024. All rights reserved.