com.atlassian.bamboo.event
Class BuildStateResultEvent

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.BuildResultEvent
                      extended by com.atlassian.bamboo.event.BuildStateResultEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BuildCompletedEvent, BuildFinishedEvent

public abstract class BuildStateResultEvent
extends BuildResultEvent

BuildResultEvent that is aware of BuildState

See Also:
Serialized Form

Field Summary
protected  BuildState buildState
           
 
Fields inherited from class com.atlassian.bamboo.event.BuildResultEvent
buildNumber
 
Fields inherited from class com.atlassian.bamboo.event.BuildEvent
buildKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected BuildStateResultEvent(java.lang.Object source, java.lang.String buildKey, int buildNumber, BuildState buildState)
           
 
Method Summary
 BuildState getBuildState()
          Get the state of the completed build
 
Methods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber, getBuildResultKey, getPlanResultKey
 
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
 

Field Detail

buildState

protected final BuildState buildState
Constructor Detail

BuildStateResultEvent

protected BuildStateResultEvent(java.lang.Object source,
                                java.lang.String buildKey,
                                int buildNumber,
                                BuildState buildState)
Method Detail

getBuildState

public BuildState getBuildState()
Get the state of the completed build

Returns:
buildState


Copyright © 2010 Atlassian. All Rights Reserved.