com.atlassian.bamboo.event
Class BuildFinishedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
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
@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
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
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)
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.