com.atlassian.bamboo.event
Class BuildResultEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.bamboo.event.BuildEvent
                  extended by com.atlassian.bamboo.event.BuildResultEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BuildCanceledEvent, BuildCommentedEvent, BuildResultDeletedEvent, BuildResultsSummaryUpdatedEvent, BuildStateResultEvent

public class BuildResultEvent
extends BuildEvent

Base class for build result related events

See Also:
Serialized Form

Field Summary
protected  int buildNumber
           
 
Fields inherited from class com.atlassian.bamboo.event.BuildEvent
buildKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildResultEvent(java.lang.Object source, java.lang.String buildKey, int buildNumber)
           
 
Method Summary
 int getBuildNumber()
           
 java.lang.String getBuildResultKey()
          Get the Build Result key eg "BAM-BOO-123"
 PlanResultKey getPlanResultKey()
          Gets the PlanResultKey
 
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey
 
Methods inherited from class com.atlassian.event.Event
equals, hashCode
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

buildNumber

protected final int buildNumber
Constructor Detail

BuildResultEvent

public BuildResultEvent(java.lang.Object source,
                        java.lang.String buildKey,
                        int buildNumber)
Method Detail

getBuildNumber

public int getBuildNumber()

getPlanResultKey

public PlanResultKey getPlanResultKey()
Gets the PlanResultKey

Returns:
planResultKey

getBuildResultKey

public java.lang.String getBuildResultKey()
Get the Build Result key eg "BAM-BOO-123"

Returns:
buildResultKey


Copyright © 2010 Atlassian. All Rights Reserved.