com.atlassian.bamboo.event
Class BuildHungEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.bamboo.event.BuildEvent
                  extended by com.atlassian.bamboo.event.BuildHungEvent
All Implemented Interfaces:
java.io.Serializable

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

Field Summary
 
Fields inherited from class com.atlassian.bamboo.event.BuildEvent
buildKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildHungEvent(java.lang.Object source, java.lang.String buildKey, int buildNumber, CurrentlyBuilding currentlyBuilding, java.util.List<LogEntry> buildLogs)
           
 
Method Summary
 java.util.List<LogEntry> getBuildLogs()
           
 int getBuildNumber()
           
 CurrentlyBuilding getCurrentlyBuilding()
           
 
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey
 
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
 

Constructor Detail

BuildHungEvent

public BuildHungEvent(java.lang.Object source,
                      java.lang.String buildKey,
                      int buildNumber,
                      @NotNull
                      CurrentlyBuilding currentlyBuilding,
                      java.util.List<LogEntry> buildLogs)
Method Detail

getCurrentlyBuilding

@NotNull
public CurrentlyBuilding getCurrentlyBuilding()

getBuildLogs

@Nullable
public java.util.List<LogEntry> getBuildLogs()

getBuildNumber

public int getBuildNumber()


Copyright © 2010 Atlassian. All Rights Reserved.