| Package | Description |
|---|---|
| org.apache.maven.shared.utils.cli | |
| org.apache.maven.shared.utils.cli.javatool |
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandLineUtils.StringStreamConsumer |
class |
DefaultConsumer |
class |
WriterStreamConsumer |
| Modifier and Type | Method and Description |
|---|---|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
Runnable runAfterProcessTermination) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
Runnable runAfterProcessTermination,
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,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
Runnable runAfterProcessTermination)
Immediately forks a process, returns a callable that will block until process is complete.
|
static CommandLineCallable |
CommandLineUtils.executeCommandLineAsCallable(Commandline cl,
InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds,
Runnable runAfterProcessTermination,
Charset streamCharset)
Immediately forks a process, returns a callable that will block until process is complete.
|
| Constructor and Description |
|---|
StreamPumper(InputStream in,
StreamConsumer consumer) |
StreamPumper(InputStream in,
StreamConsumer consumer,
Charset charset) |
| Modifier and Type | Method and 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 and 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 © 2002–2016 The Apache Software Foundation. All rights reserved.