Package com.atlassian.bamboo.event
Class BuildFinishedEvent
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.BuildFinishedEvent
- All Implemented Interfaces:
PlanEvent
,PlanResultEvent
,Serializable
Fired when
BuildExecutionManager#finishBuild(PlanResultKey)
is called
Note that that a corresponding BuildResultsSummary
might not be available
See BuildCompletedEvent
and PostBuildCompletedEvent
- 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
ConstructorDescriptionBuildFinishedEvent
(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, @Nullable BuildContext buildContext) BuildFinishedEvent
(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, @Nullable BuildContext buildContext, @NotNull Timestamp buildCompletionTimestamp) -
Method Summary
Modifier and TypeMethodDescription@NotNull Timestamp
@Nullable BuildContext
Build context is only available if build finished 'cleanly' (i.e.toString()
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
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
-
BuildFinishedEvent
public BuildFinishedEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, @Nullable @Nullable BuildContext buildContext) -
BuildFinishedEvent
public BuildFinishedEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, @Nullable @Nullable BuildContext buildContext, @NotNull @NotNull Timestamp buildCompletionTimestamp)
-
-
Method Details
-
getBuildContext
Build context is only available if build finished 'cleanly' (i.e. not killed, orphaned or otherwise abnormally terminated) -
getBuildCompletionTimestamp
-
toString
- Overrides:
toString
in classBuildResultEvent
-