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
ConstructorsConstructorDescriptionBuildHungEvent(Object source, String buildKey, int buildNumber, @NotNull CurrentlyBuilding currentlyBuilding, List<LogEntry> buildLogs) -
Method Summary
Modifier and TypeMethodDescriptionint@NotNull CurrentlyBuildingGet thePlanResultKeyfor theResultsSummaryMethods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, toStringMethods inherited from class com.atlassian.bamboo.event.BambooEvent
equals, hashCodeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSourceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:PlanResultEventGet thePlanResultKeyfor theResultsSummary- Specified by:
getPlanResultKeyin interfacePlanResultEvent- Returns:
- planResultKey
-