| 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,
                  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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Commandline | 
AbstractJavaTool.createCommandLine(Request request,
                 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. 
 | 
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.