hudson.ivy
Class IvyBuilder

java.lang.Object
  extended by hudson.ivy.IvyBuilder
All Implemented Interfaces:
hudson.remoting.Callable<hudson.model.Result,java.io.IOException>, hudson.remoting.DelegatingCallable<hudson.model.Result,java.io.IOException>, java.io.Serializable

public abstract class IvyBuilder
extends java.lang.Object
implements hudson.remoting.DelegatingCallable<hudson.model.Result,java.io.IOException>

Callable that invokes Ant CLI (in process) and drives a build.

As a callable, this function returns the build result.

This class defines a series of event callbacks, which are invoked during the build. This allows subclass to monitor the progress of a build.

Author:
Timothy Bingaman
See Also:
Serialized Form

Field Summary
protected  java.util.List<hudson.remoting.Future<?>> futures
          Record all asynchronous executions as they are scheduled, to make sure they are all completed before we finish.
protected  hudson.model.BuildListener listener
          Where error messages and so on are sent.
 
Constructor Summary
protected IvyBuilder(hudson.model.BuildListener listener, java.util.List<java.lang.String> goals, java.util.Map<java.lang.String,java.lang.String> systemProps)
           
 
Method Summary
 hudson.model.Result call()
          This code is executed inside the Ant jail process.
 java.lang.ClassLoader getClassLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

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


futures

protected transient java.util.List<hudson.remoting.Future<?>> futures
Record all asynchronous executions as they are scheduled, to make sure they are all completed before we finish.

Constructor Detail

IvyBuilder

protected IvyBuilder(hudson.model.BuildListener listener,
                     java.util.List<java.lang.String> goals,
                     java.util.Map<java.lang.String,java.lang.String> systemProps)
Method Detail

call

public hudson.model.Result call()
                         throws java.io.IOException
This code is executed inside the Ant jail process.

Specified by:
call in interface hudson.remoting.Callable<hudson.model.Result,java.io.IOException>
Throws:
java.io.IOException

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface hudson.remoting.DelegatingCallable<hudson.model.Result,java.io.IOException>


Copyright © 2010. All Rights Reserved.