Package | Description |
---|---|
org.apache.maven.shared.utils.cli | |
org.apache.maven.shared.utils.cli.javatool |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
private Commandline |
JavaToolResult.commandline
The command line used to obtain this result.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Commandline |
AbstractJavaTool.createCommandLine(Request request,
java.lang.String javaToolFileLocation)
Create the command line object given the request.
|
Commandline |
JavaToolResult.getCommandline()
Gets the command line used.
|
Modifier and Type | Method and Description |
---|---|
protected JavaToolResult |
AbstractJavaTool.executeCommandLine(Commandline cli,
Request request) |
void |
JavaToolResult.setCommandline(Commandline commandline)
Set the commandline used to obtain this result.
|