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
ConstructorsConstructorDescriptionBuildContextEvent(@NotNull Object source, @NotNull BuildContext buildContext) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContextDeprecated.@NotNull BuildContextGet thePlanResultKeyfor theResultsSummaryMethods inherited from class com.atlassian.bamboo.event.BambooEvent
equals, hashCodeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods 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:
getContextin interfaceContextEvent<BuildContext>
-
getResultKey
- Specified by:
getResultKeyin interfaceResultEvent
-
getPlanResultKey
Description copied from interface:PlanResultEventGet thePlanResultKeyfor theResultsSummary- Specified by:
getPlanResultKeyin interfacePlanResultEvent- Returns:
- planResultKey
-
getPlanKey
- Specified by:
getPlanKeyin interfacePlanEvent- Returns:
- planKey
-
getContext()