Class BuildContextEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- 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 com.atlassian.event.Event implements PlanResultEvent, ContextEvent<BuildContext>
ABuildContextEvent
is an event that occurs within the build workflow context- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BuildContextEvent(@NotNull Object source, @NotNull BuildContext buildContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull BuildContext
getBuildContext()
Deprecated.since 5.0 usegetContext()
@NotNull BuildContext
getContext()
PlanKey
getPlanKey()
PlanResultKey
getPlanResultKey()
Get thePlanResultKey
for theResultsSummary
ResultKey
getResultKey()
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
BuildContextEvent
public BuildContextEvent(@NotNull @NotNull Object source, @NotNull @NotNull BuildContext buildContext)
-
-
Method Detail
-
getBuildContext
@Deprecated @NotNull public @NotNull BuildContext getBuildContext()
Deprecated.since 5.0 usegetContext()
-
getContext
@NotNull public @NotNull BuildContext getContext()
- Specified by:
getContext
in interfaceContextEvent<BuildContext>
-
getResultKey
public ResultKey getResultKey()
- Specified by:
getResultKey
in interfaceResultEvent
-
getPlanResultKey
public PlanResultKey getPlanResultKey()
Description copied from interface:PlanResultEvent
Get thePlanResultKey
for theResultsSummary
- Specified by:
getPlanResultKey
in interfacePlanResultEvent
- Returns:
- planResultKey
-
getPlanKey
public PlanKey getPlanKey()
- Specified by:
getPlanKey
in interfacePlanEvent
- Returns:
- planKey
-
-