org.apache.maven.shared.release.exec
Interface CommandLineFactory

All Known Implementing Classes:
DefaultCommandLineFactory

public interface CommandLineFactory

Create a command line for execution. Componentised to allow mocking.

Author:
Brett Porter

Field Summary
static java.lang.String ROLE
          Plexus role.
 
Method Summary
 org.codehaus.plexus.util.cli.Commandline createCommandLine(java.lang.String executable)
          Create a command line object with default environment for the given executable.
 

Field Detail

ROLE

static final java.lang.String ROLE
Plexus role.

Method Detail

createCommandLine

org.codehaus.plexus.util.cli.Commandline createCommandLine(java.lang.String executable)
                                                           throws MavenExecutorException
Create a command line object with default environment for the given executable.

Parameters:
executable - the executable
Returns:
the command line
Throws:
MavenExecutorException - if there was a problem creating the command line


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.