@Singleton @Named public class DefaultCommandLineFactory extends Object implements CommandLineFactory
Constructor and Description |
---|
DefaultCommandLineFactory() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.util.cli.Commandline |
createCommandLine(String executable)
Create a command line object with default environment for the given executable.
|
public org.codehaus.plexus.util.cli.Commandline createCommandLine(String executable) throws MavenExecutorException
CommandLineFactory
createCommandLine
in interface CommandLineFactory
executable
- the executableMavenExecutorException
- if there was a problem creating
the command lineCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.