Package | Description |
---|---|
org.apache.maven.shared.utils.cli | |
org.apache.maven.shared.utils.cli.javatool |
Modifier and Type | Class | Description |
---|---|---|
static class |
CommandLineUtils.StringStreamConsumer |
A
StreamConsumer providing consumed lines as a String . |
class |
DefaultConsumer |
|
class |
WriterStreamConsumer |
Modifier and Type | Method | Description |
---|---|---|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
java.lang.Runnable runAfterProcessTermination) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
java.lang.Runnable runAfterProcessTermination,
java.nio.charset.Charset streamCharset) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
StreamConsumer systemOut,
StreamConsumer systemErr) |
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
|
static CommandLineCallable |
CommandLineUtils.executeCommandLineAsCallable(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
java.lang.Runnable runAfterProcessTermination) |
Immediately forks a process, returns a callable that will block until process is complete.
|
static CommandLineCallable |
CommandLineUtils.executeCommandLineAsCallable(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
java.lang.Runnable runAfterProcessTermination,
java.nio.charset.Charset streamCharset) |
Immediately forks a process, returns a callable that will block until process is complete.
|
Constructor | Description |
---|---|
StreamPumper(java.io.InputStream in,
StreamConsumer consumer) |
|
StreamPumper(java.io.InputStream in,
StreamConsumer consumer,
java.nio.charset.Charset charset) |
Modifier and Type | Method | Description |
---|---|---|
protected StreamConsumer |
AbstractJavaTool.createSystemErrorStreamConsumer(Request request) |
|
protected StreamConsumer |
AbstractJavaTool.createSystemOutStreamConsumer(Request request) |
|
StreamConsumer |
AbstractJavaToolRequest.getSystemErrorStreamConsumer() |
Gets the value of the
systemErrorStreamConsumer field. |
StreamConsumer |
JavaToolRequest.getSystemErrorStreamConsumer() |
Gets the value of the
systemErrorStreamConsumer field. |
StreamConsumer |
AbstractJavaToolRequest.getSystemOutStreamConsumer() |
Gets the value of the
systemOutStreamConsumer field. |
StreamConsumer |
JavaToolRequest.getSystemOutStreamConsumer() |
Gets the value of the
systemOutStreamConsumer field. |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractJavaToolRequest.setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer) |
Sets the new given value to the field
systemErrorStreamConsumer of the request. |
void |
JavaToolRequest.setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer) |
Sets the new given value to the field
systemErrorStreamConsumer of the request. |
void |
AbstractJavaToolRequest.setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer) |
Sets the new given value to the field
systemOutStreamConsumer of the request. |
void |
JavaToolRequest.setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer) |
Sets the new given value to the field
systemOutStreamConsumer of the request. |
Copyright © 2018. All rights reserved.