Methods in org.codehaus.plexus.util.cli that throw CommandLineException |
Integer |
CommandLineCallable.call()
|
Process |
Commandline.execute()
Executes 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,
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)
Immediately forks a process, returns a callable that will block until process is complete. |
String[] |
Commandline.getEnvironmentVariables()
Return the list of environment variables |
static String |
CommandLineUtils.quote(String argument)
Deprecated. Use StringUtils.quoteAndEscape(String, char, char[], char[], char, boolean) ,
StringUtils.quoteAndEscape(String, char, char[], char, boolean) , or
StringUtils.quoteAndEscape(String, char) instead. |
static String |
CommandLineUtils.quote(String argument,
boolean wrapExistingQuotes)
Deprecated. Use StringUtils.quoteAndEscape(String, char, char[], char[], char, boolean) ,
StringUtils.quoteAndEscape(String, char, char[], char, boolean) , or
StringUtils.quoteAndEscape(String, char) instead. |
static String |
CommandLineUtils.quote(String argument,
boolean escapeSingleQuotes,
boolean escapeDoubleQuotes,
boolean wrapExistingQuotes)
Deprecated. Use StringUtils.quoteAndEscape(String, char, char[], char[], char, boolean) ,
StringUtils.quoteAndEscape(String, char, char[], char, boolean) , or
StringUtils.quoteAndEscape(String, char) instead. |
static String |
Commandline.quoteArgument(String argument)
Deprecated. Use CommandLineUtils.quote(String) instead. |