com.atlassian.bamboo.event
Class BuildHungEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildHungEvent
- All Implemented Interfaces:
- PlanEvent, java.io.Serializable
@AsynchronousPreferred
public class BuildHungEvent
- extends BuildEvent
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:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BuildHungEvent
public BuildHungEvent(java.lang.Object source,
java.lang.String buildKey,
int buildNumber,
@NotNull
CurrentlyBuilding currentlyBuilding,
java.util.List<LogEntry> buildLogs)
getCurrentlyBuilding
@NotNull
public CurrentlyBuilding getCurrentlyBuilding()
getBuildLogs
@Nullable
public java.util.List<LogEntry> getBuildLogs()
getBuildNumber
public int getBuildNumber()
Copyright © 2011 Atlassian. All Rights Reserved.