| 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 | 
|---|---|
Integer | 
CommandLineCallable.call() | 
Process | 
Commandline.execute()
Execute the command. 
 | 
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. 
 | 
void | 
Commandline.Argument.setLine(String line) | 
void | 
Arg.setLine(String line)  | 
static String[] | 
CommandLineUtils.translateCommandline(String toProcess)  | 
| Constructor and Description | 
|---|
Commandline(String toProcess)
Create a new command line object. 
 | 
| 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. 
 | 
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.