org.apache.maven.shared.release.exec
Class DefaultCommandLineFactory
java.lang.Object
org.apache.maven.shared.release.exec.DefaultCommandLineFactory
- All Implemented Interfaces:
- CommandLineFactory
public class DefaultCommandLineFactory
- extends Object
- implements CommandLineFactory
Create a command line instance.
- Author:
- Brett Porter
- Plexus component:
- role:
- "org.apache.maven.shared.release.exec.CommandLineFactory"
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCommandLineFactory
public DefaultCommandLineFactory()
createCommandLine
public Commandline createCommandLine(String executable)
throws MavenExecutorException
- Description copied from interface:
CommandLineFactory
- Create a command line object with default environment for the given executable.
- Specified by:
createCommandLine
in interface CommandLineFactory
- Parameters:
executable
- the executable
- Returns:
- the command line
- Throws:
MavenExecutorException
- if there was a problem creating the command line
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.