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>
ABuildContextEventis 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 BuildContextgetBuildContext()Deprecated.since 5.0 usegetContext()@NotNull BuildContextgetContext()PlanKeygetPlanKey()PlanResultKeygetPlanResultKey()Get thePlanResultKeyfor theResultsSummaryResultKeygetResultKey()-
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:
getContextin interfaceContextEvent<BuildContext>
-
getResultKey
public ResultKey getResultKey()
- Specified by:
getResultKeyin interfaceResultEvent
-
getPlanResultKey
public PlanResultKey getPlanResultKey()
Description copied from interface:PlanResultEventGet thePlanResultKeyfor theResultsSummary- Specified by:
getPlanResultKeyin interfacePlanResultEvent- Returns:
- planResultKey
-
getPlanKey
public PlanKey getPlanKey()
- Specified by:
getPlanKeyin interfacePlanEvent- Returns:
- planKey
-
-