Package com.atlassian.bamboo.event
Class BuildStateResultEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildResultEvent
com.atlassian.bamboo.event.BuildStateResultEvent
- All Implemented Interfaces:
PlanEvent
,PlanResultEvent
,Serializable
- Direct Known Subclasses:
BuildCompletedEvent
,BuildFinishedEvent
,JobCompletedEvent
BuildResultEvent
that is aware of BuildState
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bamboo.event.BuildResultEvent
planResultKey
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
BuildStateResultEvent
(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState) -
Method Summary
Modifier and TypeMethodDescriptionGet the state of the completed buildGet the lifeCycleState of buildMethods inherited from class com.atlassian.bamboo.event.BuildResultEvent
getBuildNumber, getBuildResultKey, getPlanResultKey, toString
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey
Methods inherited from class com.atlassian.bamboo.event.BambooEvent
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 Details
-
buildState
-
lifeCycleState
-
-
Constructor Details
-
BuildStateResultEvent
protected BuildStateResultEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState)
-
-
Method Details
-
getBuildState
Get the state of the completed build- Returns:
- buildState
-
getLifeCycleState
Get the lifeCycleState of build- Returns:
- lifeCycleState
-