Package | Description |
---|---|
org.apache.maven.shared.utils.cli | |
org.apache.maven.shared.utils.cli.javatool |
Modifier and Type | Class | Description |
---|---|---|
class |
CommandLineTimeOutException |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Integer |
CommandLineCallable.call() |
|
java.lang.Process |
Commandline.execute() |
Executes the command.
|
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.
|
static java.lang.String[] |
CommandLineUtils.translateCommandline(java.lang.String toProcess) |
Modifier and Type | Method | Description |
---|---|---|
CommandLineException |
JavaToolResult.getExecutionException() |
Gets the exception that possibly occurred during the execution of the command line.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JavaToolResult.setExecutionException(CommandLineException executionException) |
Sets the exception that prevented to execute the command line.
|
Copyright © 2018. All rights reserved.