net.sourceforge.cruisecontrol.events
Class BuildProgressEvent

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

public class BuildProgressEvent
extends java.util.EventObject

The BuildProgressEvent is fired just before each step of the build loop.

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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildProgressEvent(Project project, ProjectState state)
          Constructs the event indicating the state of the build.
 
Method Summary
 Project getProject()
           
 ProjectState getState()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildProgressEvent

public BuildProgressEvent(Project project,
                          ProjectState state)
Constructs the event indicating the state of the build.

Parameters:
project - the project whose build loop has progressed
state - indicates which step the build loop is in
Method Detail

getProject

public Project getProject()

getState

public ProjectState getState()

toString

public java.lang.String toString()