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:
PlanEvent, PlanResultEvent, java.io.Serializable
Direct Known Subclasses:
BuildCompletedEvent, BuildFinishedEvent, JobCompletedEvent

public abstract class BuildStateResultEvent
extends BuildResultEvent

BuildResultEvent that is aware of BuildState

See Also:
Serialized Form

Field Summary
protected  BuildState buildState
           
protected  LifeCycleState lifeCycleState
           
 
Fields inherited from class com.atlassian.bamboo.event.BuildResultEvent
planResultKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected BuildStateResultEvent(java.lang.Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState)
           
 
Method Summary
 BuildState getBuildState()
          Get the state of the completed build
 LifeCycleState getLifeCycleState()
          Get the lifeCycleState of build
 
Methods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber, getBuildResultKey, getPlanResultKey
 
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, toString
 
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
 
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
 

Field Detail

buildState

protected final BuildState buildState

lifeCycleState

protected final LifeCycleState lifeCycleState
Constructor Detail

BuildStateResultEvent

protected BuildStateResultEvent(java.lang.Object source,
                                PlanResultKey planResultKey,
                                BuildState buildState,
                                LifeCycleState lifeCycleState)
Method Detail

getBuildState

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

Returns:
buildState

getLifeCycleState

public LifeCycleState getLifeCycleState()
Get the lifeCycleState of build

Returns:
lifeCycleState


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.