net.sourceforge.cruisecontrol.events
Class BuildResultEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bynet.sourceforge.cruisecontrol.events.BuildResultEvent
All Implemented Interfaces:
java.io.Serializable

public class BuildResultEvent
extends java.util.EventObject

The BuildResultEvent is fired at the end of each build loop indicating whether the build has passed or failed.

Author:
Michael Beauregard, $Author: pauljulius $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildResultEvent(Project project, boolean buildSuccessful)
          Constructs an event indicating that the build has passed or failed.
 
Method Summary
 Project getProject()
           
 boolean isBuildSuccessful()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildResultEvent

public BuildResultEvent(Project project,
                        boolean buildSuccessful)
Constructs an event indicating that the build has passed or failed.

Parameters:
project - the project whose build has completed
buildSuccessful - indicating whether the build has passed or failed
Method Detail

isBuildSuccessful

public boolean isBuildSuccessful()

getProject

public Project getProject()