Class BuildContextEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.v2.build.events.BuildContextEvent
- All Implemented Interfaces:
ContextEvent<BuildContext>
,PlanEvent
,PlanResultEvent
,ResultEvent
,Serializable
- Direct Known Subclasses:
BuildQueuedEvent
,BuildTriggeredEvent
,PostBuildCompletedEvent
public abstract class BuildContextEvent
extends BambooEvent
implements PlanResultEvent, ContextEvent<BuildContext>
A
BuildContextEvent
is an event that occurs within the build workflow context- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionBuildContextEvent
(@NotNull Object source, @NotNull BuildContext buildContext) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContext
Deprecated.@NotNull BuildContext
Get thePlanResultKey
for theResultsSummary
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, toString
-
Constructor Details
-
BuildContextEvent
public BuildContextEvent(@NotNull @NotNull Object source, @NotNull @NotNull BuildContext buildContext)
-
-
Method Details
-
getBuildContext
Deprecated.since 5.0 usegetContext()
-
getContext
- Specified by:
getContext
in interfaceContextEvent<BuildContext>
-
getResultKey
- Specified by:
getResultKey
in interfaceResultEvent
-
getPlanResultKey
Description copied from interface:PlanResultEvent
Get thePlanResultKey
for theResultsSummary
- Specified by:
getPlanResultKey
in interfacePlanResultEvent
- Returns:
- planResultKey
-
getPlanKey
- Specified by:
getPlanKey
in interfacePlanEvent
- Returns:
- planKey
-
getContext()