Package com.atlassian.bamboo.event
Class BuildEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.BuildEvent
- All Implemented Interfaces:
PlanEvent
,Serializable
- Direct Known Subclasses:
BuildConfigurationUpdatedEvent
,BuildCreatedEvent
,BuildDeletedEvent
,BuildHungEvent
,BuildRequirementUpdatedEvent
,BuildResultEvent
,ChangeDetectionRequiredEvent
,InitialBuildRequiredEvent
,UserResponsibilityEvent
Generic base event for
BambooEvent
s that captures a Plan
.
We store the key so that the listeners- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionBuildEvent
(Object source, PlanKey planKey) BuildEvent
(Object source, String buildKey) Deprecated.since 5.0 -
Method Summary
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
-
Constructor Details
-
BuildEvent
Deprecated.since 5.0 -
BuildEvent
-
-
Method Details
-
getBuildPlanKey
-
getPlanKey
Gets thePlanKey
- Specified by:
getPlanKey
in interfacePlanEvent
- Returns:
- planKey
-
toString
- Overrides:
toString
in classEventObject
-