public class DefaultCommandLineFactory extends java.lang.Object implements CommandLineFactory
ROLE
Constructor and Description |
---|
DefaultCommandLineFactory() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.util.cli.Commandline |
createCommandLine(java.lang.String executable)
Create a command line object with default environment for the given executable.
|
public org.codehaus.plexus.util.cli.Commandline createCommandLine(java.lang.String executable) throws MavenExecutorException
CommandLineFactory
createCommandLine
in interface CommandLineFactory
executable
- the executableMavenExecutorException
- if there was a problem creating the command line