hudson.maven
Class AbstractMavenProcessFactory
java.lang.Object
hudson.maven.AbstractMavenProcessFactory
- Direct Known Subclasses:
- Maven3ProcessFactory
public abstract class AbstractMavenProcessFactory
- extends Object
- Author:
- Olivier Lamy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newProcess
public ProcessCache.NewProcess newProcess(BuildListener listener,
OutputStream out)
throws IOException,
InterruptedException
- Starts maven process.
- Throws:
IOException
InterruptedException
buildMavenAgentCmdLine
protected abstract ArgumentListBuilder buildMavenAgentCmdLine(BuildListener listener,
int tcpPort)
throws IOException,
InterruptedException
- Builds the command line argument list to launch the maven process.
- Throws:
IOException
InterruptedException
getMavenOpts
public String getMavenOpts()
getMavenInstallation
public Maven.MavenInstallation getMavenInstallation(TaskListener log)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getJava
public JDK getJava(TaskListener log)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getCurrentNode
protected Node getCurrentNode()
- Returns the current
Node on which we are buildling.
getMavenModuleSet
protected MavenModuleSet getMavenModuleSet()
getLauncher
protected Launcher getLauncher()
getEnvVars
protected EnvVars getEnvVars()
Copyright © 2004-2011. All Rights Reserved.