Package com.atlassian.bamboo.event
Class BuildEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.bamboo.event.BuildEvent
-
- All Implemented Interfaces:
PlanEvent
,Serializable
- Direct Known Subclasses:
BuildConfigurationUpdatedEvent
,BuildCreatedEvent
,BuildDeletedEvent
,BuildHungEvent
,BuildRequirementUpdatedEvent
,BuildResultEvent
,ChangeDetectionRequiredEvent
,InitialBuildRequiredEvent
,UserResponsibilityEvent
@AsynchronousPreferred public class BuildEvent extends com.atlassian.event.Event implements PlanEvent
Generic base event forEvent
s that captures aPlan
. We store the key so that the listeners- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BuildEvent(Object source, PlanKey planKey)
BuildEvent(Object source, String buildKey)
Deprecated.since 5.0
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildPlanKey()
PlanKey
getPlanKey()
Gets thePlanKey
String
toString()
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Constructor Detail
-
BuildEvent
@Deprecated public BuildEvent(Object source, String buildKey)
Deprecated.since 5.0
-
-
Method Detail
-
getBuildPlanKey
public String getBuildPlanKey()
-
getPlanKey
public PlanKey getPlanKey()
Gets thePlanKey
- Specified by:
getPlanKey
in interfacePlanEvent
- Returns:
- planKey
-
toString
public String toString()
- Overrides:
toString
in classEventObject
-
-