Class ChainMovedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.ChainEvent
com.atlassian.bamboo.event.ChainUpdatedEvent
com.atlassian.bamboo.chains.events.ChainMovedEvent
- All Implemented Interfaces:
PlanEvent,Serializable
Synchronous event sent after a chain has been moved allowing plugins and Bamboo components to react on
chain key change. This event is delivered immediately after the main "move plan" transaction commits successfully.
A separate event is sent for the master chain and each branch of the plan.
While this event is processed immutablePlanCacheService holds a lock on original plan key.
Note that @AsynchronousPreferred annotation must not be used here
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bamboo.event.ChainEvent
planKeyFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionChainMovedEvent(@NotNull Object source, @NotNull PlanKey originalPlanKey, PlanKey newPlanKey) -
Method Summary
Methods inherited from class com.atlassian.bamboo.event.ChainEvent
getPlanKey, toStringMethods 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
-
Constructor Details
-
Method Details
-
getOriginalPlanKey
-
getNewPlanKey
-