Package com.atlassian.bamboo.event
Class BuildResultEvent
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
- All Implemented Interfaces:
PlanEvent
,PlanResultEvent
,Serializable
- Direct Known Subclasses:
BuildCanceledEvent
,BuildCommentDeletedEvent
,BuildCommentedEvent
,BuildQueueTimeoutEvent
,BuildResultDeletedEvent
,BuildStateResultEvent
,ResultLabelEvent
Base class for build result related events
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the Build Result key eg "BAM-BOO-123"Gets thePlanResultKey
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
-
planResultKey
-
-
Constructor Details
-
BuildResultEvent
-
-
Method Details
-
getBuildNumber
public int getBuildNumber() -
getPlanResultKey
Gets thePlanResultKey
- Specified by:
getPlanResultKey
in interfacePlanResultEvent
- Returns:
- planResultKey
-
getBuildResultKey
Get the Build Result key eg "BAM-BOO-123"- Returns:
- buildResultKey
-
toString
- Overrides:
toString
in classBuildEvent
-