com.atlassian.bamboo.event
Class AbstractBuildEvent

java.lang.Object
  extended by com.atlassian.bamboo.event.AbstractBuildEvent
Direct Known Subclasses:
BuildCompletedEvent

public class AbstractBuildEvent
extends Object

This class contains common build event attributes.

Version:
$Id: AbstractBuildEvent.java,v 1.2 2005/01/11 23:12:24 andy Exp $

Constructor Summary
AbstractBuildEvent(Build build, long buildNumber)
          Something interesting is happening to the given build's build!
 
Method Summary
 Build getBuild()
          The event's build
 long getBuildBuildNumber()
          The event's build number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBuildEvent

public AbstractBuildEvent(Build build,
                          long buildNumber)
Something interesting is happening to the given build's build!

Parameters:
build - The build
buildNumber - The build's build number
Method Detail

getBuildBuildNumber

public long getBuildBuildNumber()
The event's build number

Returns:
The build number

getBuild

public Build getBuild()
The event's build

Returns:
The build


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.