Package com.atlassian.bamboo.event
Class BuildHungEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildHungEvent
- All Implemented Interfaces:
PlanEvent
,PlanResultEvent
,Serializable
An event that is thrown if the build has been detected to have hung based on certain criteria.
It is highly likely that the build will not have completed yet, hence no build completed data will be retrievable.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionBuildHungEvent
(Object source, String buildKey, int buildNumber, @NotNull CurrentlyBuilding currentlyBuilding, List<LogEntry> buildLogs) -
Method Summary
Modifier and TypeMethodDescriptionint
@NotNull CurrentlyBuilding
Get thePlanResultKey
for theResultsSummary
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, toString
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
-
BuildHungEvent
public BuildHungEvent(Object source, String buildKey, int buildNumber, @NotNull @NotNull CurrentlyBuilding currentlyBuilding, List<LogEntry> buildLogs)
-
-
Method Details
-
getCurrentlyBuilding
-
getBuildLogs
-
getBuildNumber
public int getBuildNumber() -
getPlanResultKey
Description copied from interface:PlanResultEvent
Get thePlanResultKey
for theResultsSummary
- Specified by:
getPlanResultKey
in interfacePlanResultEvent
- Returns:
- planResultKey
-