com.atlassian.bamboo.event
Class BuildFinishedEvent

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.BuildStateResultEvent
                          extended by com.atlassian.bamboo.event.BuildFinishedEvent
All Implemented Interfaces:
PlanEvent, PlanResultEvent, Serializable

@AsynchronousPreferred
public class BuildFinishedEvent
extends BuildStateResultEvent

Fired when BuildExecutionManager.finishBuild(PlanResultKey) is called Note that that a corresponding BuildResultsSummary might not be available See BuildCompletedEvent and PostBuildCompletedEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.event.BuildStateResultEvent
buildState, lifeCycleState
 
Fields inherited from class com.atlassian.bamboo.event.BuildResultEvent
planResultKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildFinishedEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState)
           
BuildFinishedEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, BuildContext buildContext)
           
 
Method Summary
 BuildContext getBuildContext()
          Build context is only available if build finished 'cleanly' (i.e.
 
Methods inherited from class com.atlassian.bamboo.event.BuildStateResultEvent
getBuildState, getLifeCycleState
 
Methods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber, getBuildResultKey, getPlanResultKey, toString
 
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
 
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
 

Constructor Detail

BuildFinishedEvent

public BuildFinishedEvent(Object source,
                          PlanResultKey planResultKey,
                          BuildState buildState,
                          LifeCycleState lifeCycleState)

BuildFinishedEvent

public BuildFinishedEvent(Object source,
                          PlanResultKey planResultKey,
                          BuildState buildState,
                          LifeCycleState lifeCycleState,
                          @Nullable
                          BuildContext buildContext)
Method Detail

getBuildContext

@Nullable
public BuildContext getBuildContext()
Build context is only available if build finished 'cleanly' (i.e. not killed, orphaned or otherwise abnormally terminated)

Returns:


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.