com.atlassian.bamboo.event
Class JobCompletedEvent

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.JobCompletedEvent
All Implemented Interfaces:
PlanEvent, PlanResultEvent, java.io.Serializable

@AsynchronousPreferred
public class JobCompletedEvent
extends BuildStateResultEvent

Event that gets triggered when a build is completed A BuildResultsSummary corresponding to this event should be available via BuildResultsSummaryManager See PostBuildCompletedEvent and BuildFinishedEvent

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
JobCompletedEvent(java.lang.Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, int numberOfPreviouslyFailedJobs)
           
 
Method Summary
 int getNumberOfPreviouslyFailedJobs()
           
 
Methods inherited from class com.atlassian.bamboo.event.BuildStateResultEvent
getBuildState, getLifeCycleState
 
Methods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber, getBuildResultKey, getPlanResultKey
 
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
 

Constructor Detail

JobCompletedEvent

public JobCompletedEvent(java.lang.Object source,
                         PlanResultKey planResultKey,
                         BuildState buildState,
                         LifeCycleState lifeCycleState,
                         int numberOfPreviouslyFailedJobs)
Method Detail

getNumberOfPreviouslyFailedJobs

public int getNumberOfPreviouslyFailedJobs()


Copyright © 2012 Atlassian. All Rights Reserved.