com.atlassian.bamboo.event
Class BuildEvent

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
All Implemented Interfaces:
PlanEvent, java.io.Serializable
Direct Known Subclasses:
BuildConfigurationUpdatedEvent, BuildCreatedEvent, BuildDeletedEvent, BuildHungEvent, BuildRequirementUpdatedEvent, BuildResultEvent, ChangeDetectionRequiredEvent, InitialBuildRequiredEvent, UserResponsibilityEvent

@AsynchronousPreferred
public class BuildEvent
extends com.atlassian.event.Event
implements PlanEvent

Generic base event for Events that captures a Plan. We store the key so that the listeners

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildEvent(java.lang.Object source, PlanKey planKey)
           
BuildEvent(java.lang.Object source, java.lang.String buildKey)
           
 
Method Summary
 java.lang.String getBuildPlanKey()
           
 PlanKey getPlanKey()
          Gets the PlanKey
 java.lang.String 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
 

Constructor Detail

BuildEvent

public BuildEvent(java.lang.Object source,
                  java.lang.String buildKey)

BuildEvent

public BuildEvent(java.lang.Object source,
                  PlanKey planKey)
Method Detail

getBuildPlanKey

public java.lang.String getBuildPlanKey()

getPlanKey

public PlanKey getPlanKey()
Gets the PlanKey

Specified by:
getPlanKey in interface PlanEvent
Returns:
planKey

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.