org.codehaus.plexus.compiler.javac
Class Commandline

java.lang.Object
  extended by org.codehaus.plexus.util.cli.Commandline
      extended by org.codehaus.plexus.compiler.javac.Commandline
All Implemented Interfaces:
java.lang.Cloneable

public class Commandline
extends org.codehaus.plexus.util.cli.Commandline

Class with patches 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

Author:
Carlos Sanchez

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
 java.lang.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
addArg, addArg, addArguments, addEnvironment, addSystemEnvironment, clear, clearArgs, clone, createArg, createArg, createArgument, createArgument, createMarker, execute, getArguments, getCommandline, getEnvironmentVariables, getExecutable, getPid, getShell, getSystemEnvVars, getWorkingDirectory, quoteArgument, setExecutable, setPid, setShell, setWorkingDirectory, setWorkingDirectory, size, toString, toString, translateCommandline
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Commandline

public Commandline()
Method Detail

getShellCommandline

public java.lang.String[] getShellCommandline()
Returns the shell, executable and all defined arguments.

Overrides:
getShellCommandline in class org.codehaus.plexus.util.cli.Commandline

setShell

public void setShell(Shell shell)
Allows to set the shell to be used in this command line.

Parameters:
shell -
Since:
1.2


Copyright © 2001-2008 Codehaus. All Rights Reserved.