org.apache.maven.surefire.booter.shell
Class CmdShell

java.lang.Object
  extended by org.codehaus.plexus.util.cli.shell.Shell
      extended by org.apache.maven.surefire.booter.shell.CmdShell
All Implemented Interfaces:
java.lang.Cloneable

public class CmdShell
extends org.codehaus.plexus.util.cli.shell.Shell

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

Constructor Summary
CmdShell()
           
 
Method Summary
 java.util.List getCommandLine(java.lang.String executable, java.lang.String[] arguments)
          Specific implementation that quotes the all the command line
 
Methods inherited from class org.codehaus.plexus.util.cli.shell.Shell
addShellArg, clearArguments, clone, getExecutable, getOriginalCommandLine, getOriginalExecutable, getShellArgs, getShellArgsList, getShellCommand, getShellCommandLine, getWorkingDirectory, isDoubleQuotedArgumentEscaped, isDoubleQuotedExecutableEscaped, isQuotedArgumentsEnabled, isQuotedExecutableEnabled, isSingleQuotedArgumentEscaped, isSingleQuotedExecutableEscaped, setDoubleQuotedArgumentEscaped, setDoubleQuotedExecutableEscaped, setExecutable, setQuotedArgumentsEnabled, setQuotedExecutableEnabled, setShellArgs, setShellCommand, setSingleQuotedArgumentEscaped, setSingleQuotedExecutableEscaped, setWorkingDirectory, setWorkingDirectory
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdShell

public CmdShell()
Method Detail

getCommandLine

public java.util.List getCommandLine(java.lang.String executable,
                                     java.lang.String[] arguments)
Specific implementation that quotes the all the command line

Overrides:
getCommandLine in class org.codehaus.plexus.util.cli.shell.Shell


Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.