Package com.atlassian.bamboo.event
Class JobCompletedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildResultEvent
com.atlassian.bamboo.event.BuildStateResultEvent
com.atlassian.bamboo.event.JobCompletedEvent
- All Implemented Interfaces:
PlanEvent
,PlanResultEvent
,Serializable
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:
-
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
ConstructorDescriptionJobCompletedEvent
(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, int numberOfPreviouslyFailedJobs) -
Method Summary
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.bamboo.event.BambooEvent
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 Details
-
JobCompletedEvent
public JobCompletedEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, int numberOfPreviouslyFailedJobs)
-
-
Method Details
-
getNumberOfPreviouslyFailedJobs
public int getNumberOfPreviouslyFailedJobs()
-