| Package | Description |
|---|---|
| de.flapdoodle.embed.process.io | |
| de.flapdoodle.embed.process.runtime |
| Modifier and Type | Class and Description |
|---|---|
class |
ConsoleOutputStreamProcessor |
class |
ListeningStreamProcessor |
class |
LogWatchStreamProcessor
Deprecated.
|
class |
NamedOutputStreamProcessor |
class |
NullProcessor
Don't output anything.
|
class |
Slf4jStreamProcessor |
class |
StreamToLineProcessor |
| Modifier and Type | Method and Description |
|---|---|
StreamProcessor |
ImmutableProcessOutput.commands() |
StreamProcessor |
ProcessOutput.commands() |
static StreamProcessor |
Processors.console() |
StreamProcessor |
ImmutableProcessOutput.error() |
StreamProcessor |
ProcessOutput.error() |
static StreamProcessor |
Processors.logTo(org.slf4j.Logger logger,
Slf4jLevel level) |
static StreamProcessor |
Processors.named(String name,
StreamProcessor destination) |
static StreamProcessor |
Processors.namedConsole(String name) |
StreamProcessor |
ImmutableProcessOutput.output() |
StreamProcessor |
ProcessOutput.output() |
static StreamProcessor |
Processors.silent() |
static StreamProcessor |
StreamToLineProcessor.wrap(StreamProcessor destination) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableProcessOutput.Builder |
ImmutableProcessOutput.Builder.commands(StreamProcessor commands)
Initializes the value for the
commands attribute. |
static ReaderProcessor |
Processors.connect(Reader reader,
StreamProcessor processor) |
ImmutableProcessOutput.Builder |
ImmutableProcessOutput.Builder.error(StreamProcessor error)
Initializes the value for the
error attribute. |
static StreamProcessor |
Processors.named(String name,
StreamProcessor destination) |
ImmutableProcessOutput.Builder |
ImmutableProcessOutput.Builder.output(StreamProcessor output)
Initializes the value for the
output attribute. |
ImmutableProcessOutput |
ImmutableProcessOutput.withCommands(StreamProcessor value)
Copy the current immutable object by setting a value for the
commands attribute. |
ImmutableProcessOutput |
ImmutableProcessOutput.withError(StreamProcessor value)
Copy the current immutable object by setting a value for the
error attribute. |
ImmutableProcessOutput |
ImmutableProcessOutput.withOutput(StreamProcessor value)
Copy the current immutable object by setting a value for the
output attribute. |
static StreamProcessor |
StreamToLineProcessor.wrap(StreamProcessor destination) |
| Constructor and Description |
|---|
ListeningStreamProcessor(StreamProcessor delegate,
Consumer<String> lineListener) |
LogWatchStreamProcessor(String success,
Set<String> failures,
StreamProcessor destination)
Deprecated.
|
NamedOutputStreamProcessor(String name,
StreamProcessor destination) |
ReaderProcessor(Reader reader,
StreamProcessor streamProcessor) |
StreamToLineProcessor(StreamProcessor destination) |
| 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.killProcess(SupportConfig support,
de.flapdoodle.os.Platform platform,
StreamProcessor output,
long pid) |
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) |
Copyright © 2022. All rights reserved.