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
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the Build Result key eg "BAM-BOO-123"Gets thePlanResultKeytoString()Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKeyMethods inherited from class com.atlassian.bamboo.event.BambooEvent
equals, hashCodeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSourceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getPlanResultKeyin interfacePlanResultEvent- Returns:
- planResultKey
-
getBuildResultKey
Get the Build Result key eg "BAM-BOO-123"- Returns:
- buildResultKey
-
toString
- Overrides:
toStringin classBuildEvent
-