Package | Description |
---|---|
org.apache.maven.shared.utils.cli | |
org.apache.maven.shared.utils.cli.javatool |
Modifier and Type | Class and Description |
---|---|
class |
CommandLineTimeOutException |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
CommandLineCallable.call() |
java.lang.Process |
Commandline.execute()
Execute 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.
|
void |
Arg.setLine(java.lang.String line) |
void |
Commandline.Argument.setLine(java.lang.String line) |
static java.lang.String[] |
CommandLineUtils.translateCommandline(java.lang.String toProcess) |
Constructor and Description |
---|
Commandline(java.lang.String toProcess)
Create a new command line object.
|
Modifier and Type | Field and Description |
---|---|
private CommandLineException |
JavaToolResult.executionException
The exception that prevented to execute the command line, will be
null if jarSigner could be
successfully started. |
Modifier and Type | Method and Description |
---|---|
CommandLineException |
JavaToolResult.getExecutionException()
Gets the exception that possibly occurred during the execution of the command line.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaToolResult.setExecutionException(CommandLineException executionException)
Sets the exception that prevented to execute the command line.
|