Package com.atlassian.bamboo.event
Class BuildResultEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.bamboo.event.BuildEvent
-
- com.atlassian.bamboo.event.BuildResultEvent
-
- All Implemented Interfaces:
PlanEvent,PlanResultEvent,Serializable
- Direct Known Subclasses:
BuildCanceledEvent,BuildCommentDeletedEvent,BuildCommentedEvent,BuildQueueTimeoutEvent,BuildResultDeletedEvent,BuildStateResultEvent,ResultLabelEvent
@AsynchronousPreferred public class BuildResultEvent extends BuildEvent implements PlanResultEvent
Base class for build result related events- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected PlanResultKeyplanResultKey-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BuildResultEvent(Object source, PlanResultKey planResultKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBuildNumber()StringgetBuildResultKey()Get the Build Result key eg "BAM-BOO-123"PlanResultKeygetPlanResultKey()Gets thePlanResultKeyStringtoString()-
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
-
planResultKey
protected final PlanResultKey planResultKey
-
-
Constructor Detail
-
BuildResultEvent
public BuildResultEvent(Object source, PlanResultKey planResultKey)
-
-
Method Detail
-
getBuildNumber
public int getBuildNumber()
-
getPlanResultKey
public PlanResultKey getPlanResultKey()
Gets thePlanResultKey- Specified by:
getPlanResultKeyin interfacePlanResultEvent- Returns:
- planResultKey
-
getBuildResultKey
public String getBuildResultKey()
Get the Build Result key eg "BAM-BOO-123"- Returns:
- buildResultKey
-
toString
public String toString()
- Overrides:
toStringin classBuildEvent
-
-