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, BuildCommentDeletedEvent, BuildCommentedEvent, BuildQueueTimeoutEvent, BuildResultDeletedEvent, BuildResultsSummaryUpdatedEvent, BuildStateResultEvent, ResultLabelEvent

@AsynchronousPreferred
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, toString
 
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
 
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 © 2011 Atlassian. All Rights Reserved.