|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.cli.Commandline
org.apache.maven.surefire.booter.Commandline
public class Commandline
Commandline class copied from plexus-utils with fix for PLX-161, as we can not upgrade plexus-utils until it's upgraded in core Maven TODO deprecate when plexus-utils 1.2 can be used
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.codehaus.plexus.util.cli.Commandline |
---|
org.codehaus.plexus.util.cli.Commandline.Argument, org.codehaus.plexus.util.cli.Commandline.Marker |
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.util.cli.Commandline |
---|
arguments, envVars, executable, OS_NAME, WINDOWS |
Constructor Summary | |
---|---|
Commandline()
|
Method Summary | |
---|---|
Shell |
getShell()
Get the shell to be used in this command line. |
String[] |
getShellCommandline()
Returns the shell, executable and all defined arguments. |
void |
setShell(Shell shell)
Allows to set the shell to be used in this command line. |
Methods inherited from class org.codehaus.plexus.util.cli.Commandline |
---|
addArguments, addEnvironment, addSystemEnvironment, clear, clearArgs, clone, createArgument, createArgument, createMarker, execute, getArguments, getCommandline, getCurrentEnvironment, getEnvironments, getExecutable, getSystemEnvVars, getWorkingDirectory, quoteArgument, setExecutable, setWorkingDirectory, size, toString, toString, translateCommandline |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Commandline()
Method Detail |
---|
public String[] getShellCommandline()
getShellCommandline
in class org.codehaus.plexus.util.cli.Commandline
public void setShell(Shell shell)
shell
- public Shell getShell()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |