com.atlassian.bamboo.event
Class BuildCompletedEvent

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
                      extended by com.atlassian.bamboo.event.BuildCompletedEvent
All Implemented Interfaces:
java.io.Serializable

public class BuildCompletedEvent
extends BuildResultEvent

Event that gets triggered after a build completes

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.event.BuildResultEvent
buildNumber
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildCompletedEvent(java.lang.Object source, Build build, BuildResults buildResults, ExtendedBuildResultsSummary buildResultsSummary)
           
 
Method Summary
 Build getBuild()
          Deprecated. 
 java.lang.String getBuildPlanKey()
           
 BuildResults getBuildResults()
           
 ExtendedBuildResultsSummary getBuildResultsSummary()
          Deprecated. 
 
Methods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber
 
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

BuildCompletedEvent

public BuildCompletedEvent(java.lang.Object source,
                           @NotNull
                           Build build,
                           @NotNull
                           BuildResults buildResults,
                           @NotNull
                           ExtendedBuildResultsSummary buildResultsSummary)
Method Detail

getBuild

@Deprecated
@NotNull
public Build getBuild()
Deprecated. 


getBuildResults

@NotNull
public BuildResults getBuildResults()

getBuildResultsSummary

@Deprecated
@NotNull
public ExtendedBuildResultsSummary getBuildResultsSummary()
Deprecated. 

This has been deprecated due to hibernate session issues. Please use the build key and build results summary to retrieve result instead


getBuildPlanKey

@NotNull
public java.lang.String getBuildPlanKey()
Overrides:
getBuildPlanKey in class BuildEvent


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.