hudson.maven
Class Maven3ProcessFactory

java.lang.Object
  extended by hudson.maven.AbstractMavenProcessFactory
      extended by hudson.maven.Maven3ProcessFactory

public class Maven3ProcessFactory
extends AbstractMavenProcessFactory

Author:
Olivier Lamy

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.maven.AbstractMavenProcessFactory
AbstractMavenProcessFactory.GetRemotingJar
 
Method Summary
protected  ArgumentListBuilder buildMavenAgentCmdLine(BuildListener listener, int tcpPort)
          Builds the command line argument list to launch the maven process.
 JDK getJava(TaskListener listener)
           
 Maven.MavenInstallation getMavenInstallation(TaskListener listener)
           
 String getMavenOpts()
           
 ProcessCache.NewProcess newProcess(BuildListener listener, OutputStream out)
           
 
Methods inherited from class hudson.maven.AbstractMavenProcessFactory
getCurrentNode, getEnvVars, getJava, getLauncher, getMavenInstallation, getMavenModuleSet, getMavenOpts, newProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildMavenAgentCmdLine

protected ArgumentListBuilder buildMavenAgentCmdLine(BuildListener listener,
                                                     int tcpPort)
                                              throws IOException,
                                                     InterruptedException
Builds the command line argument list to launch the maven process.

Specified by:
buildMavenAgentCmdLine in class AbstractMavenProcessFactory
Throws:
IOException
InterruptedException

newProcess

public ProcessCache.NewProcess newProcess(BuildListener listener,
                                          OutputStream out)
                                   throws IOException,
                                          InterruptedException
Parameters:
out - The output from the process should be sent to this output stream.
Throws:
IOException
InterruptedException

getMavenOpts

public String getMavenOpts()

getMavenInstallation

public Maven.MavenInstallation getMavenInstallation(TaskListener listener)
                                             throws IOException,
                                                    InterruptedException
Throws:
IOException
InterruptedException

getJava

public JDK getJava(TaskListener listener)
            throws IOException,
                   InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2011. All Rights Reserved.