com.atlassian.bamboo.v2.build.events
Class BuildContextEvent

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.v2.build.events.BuildContextEvent
All Implemented Interfaces:
PlanEvent, PlanResultEvent, java.io.Serializable
Direct Known Subclasses:
BuildQueuedEvent, BuildTriggeredEvent, PostBuildCompletedEvent

public abstract class BuildContextEvent
extends com.atlassian.event.Event
implements PlanResultEvent

A BuildContextEvent is an event that occurs within the build workflow context

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildContextEvent(java.lang.Object source, BuildContext buildContext)
           
 
Method Summary
 BuildContext getBuildContext()
           
 PlanKey getPlanKey()
          Get the PlanKey of the Plan
 PlanResultKey getPlanResultKey()
          Get the PlanResultKey for the ResultsSummary
 
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
 

Constructor Detail

BuildContextEvent

public BuildContextEvent(@NotNull
                         java.lang.Object source,
                         @NotNull
                         BuildContext buildContext)
Method Detail

getBuildContext

@NotNull
public BuildContext getBuildContext()

getPlanResultKey

public PlanResultKey getPlanResultKey()
Description copied from interface: PlanResultEvent
Get the PlanResultKey for the ResultsSummary

Specified by:
getPlanResultKey in interface PlanResultEvent
Returns:
planResultKey

getPlanKey

public PlanKey getPlanKey()
Get the PlanKey of the Plan

Specified by:
getPlanKey in interface PlanEvent
Returns:
planKey


Copyright © 2011 Atlassian. All Rights Reserved.