hudson.maven
Class AbstractMavenBuilder

java.lang.Object
  extended by hudson.maven.AbstractMavenBuilder
All Implemented Interfaces:
Callable<Result,IOException>, DelegatingCallable<Result,IOException>, Serializable
Direct Known Subclasses:
Maven3Builder, MavenBuilder

public abstract class AbstractMavenBuilder
extends Object
implements DelegatingCallable<Result,IOException>

Author:
Olivier Lamy
See Also:
Serialized Form

Field Summary
protected  List<String> goals
          Goals to be executed in this Maven execution.
protected  BuildListener listener
          Where error messages and so on are sent.
protected  Map<String,String> systemProps
          Hudson-defined system properties.
 
Constructor Summary
protected AbstractMavenBuilder(BuildListener listener, List<String> goals, Map<String,String> systemProps)
           
 
Method Summary
protected  String format(NumberFormat n, long nanoTime)
           
protected  String formatArgs(List<String> args)
           
 ClassLoader getClassLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.remoting.Callable
call
 

Field Detail

goals

protected final List<String> goals
Goals to be executed in this Maven execution.


systemProps

protected final Map<String,String> systemProps
Hudson-defined system properties. These will be made available to Maven, and accessible as if they are specified as -Dkey=value


listener

protected final BuildListener listener
Where error messages and so on are sent.

Constructor Detail

AbstractMavenBuilder

protected AbstractMavenBuilder(BuildListener listener,
                               List<String> goals,
                               Map<String,String> systemProps)
Method Detail

formatArgs

protected String formatArgs(List<String> args)

format

protected String format(NumberFormat n,
                        long nanoTime)

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface DelegatingCallable<Result,IOException>


Copyright © 2004-2011. All Rights Reserved.