Package com.atlassian.bamboo.event
Class BuildStateResultEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- 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
public abstract class BuildStateResultEvent extends BuildResultEvent
BuildResultEvent
that is aware ofBuildState
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Modifier Constructor Description protected
BuildStateResultEvent(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildState
getBuildState()
Get the state of the completed buildLifeCycleState
getLifeCycleState()
Get the lifeCycleState of build-
Methods 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 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(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
-
-