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:
PlanEvent, PlanResultEvent, java.io.Serializable
Direct Known Subclasses:
BuildCanceledEvent, BuildCommentedEvent, BuildQueueTimeoutEvent, BuildResultDeletedEvent, BuildResultsSummaryUpdatedEvent, BuildStateResultEvent

public class BuildResultEvent
extends BuildEvent
implements PlanResultEvent

Base class for build result related events

See Also:
Serialized Form

Field Summary
protected  PlanResultKey planResultKey
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildResultEvent(java.lang.Object source, PlanResultKey planResultKey)
           
 
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, getPlanKey
 
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
 
Methods inherited from interface com.atlassian.bamboo.event.PlanEvent
getPlanKey
 

Field Detail

planResultKey

protected final PlanResultKey planResultKey
Constructor Detail

BuildResultEvent

public BuildResultEvent(java.lang.Object source,
                        PlanResultKey planResultKey)
Method Detail

getBuildNumber

public int getBuildNumber()

getPlanResultKey

public PlanResultKey getPlanResultKey()
Gets the PlanResultKey

Specified by:
getPlanResultKey in interface PlanResultEvent
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.