Class ChainMovingEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.ChainEvent
com.atlassian.bamboo.chains.events.ChainMovingEvent
- All Implemented Interfaces:
PlanEvent
,Serializable
Synchronous event sent while a chain is being moved allowing plugins and Bamboo components to react on Chain key change.
While this event is being processed immutablePlanCacheService holds a lock on the original plan key.
This event is dispatched and delivered while the "move plan" database transaction is still in progress, allowing the
event listener to perform additional database operations in the same transaction (which will then be committed or
rolled back atomically).
Note that @AsynchronousPreferred annotation must not be used here
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bamboo.event.ChainEvent
planKey
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionChainMovingEvent
(@NotNull Object source, @NotNull PlanKey originalPlanKey, PlanKey newPlanKey) -
Method Summary
Methods inherited from class com.atlassian.bamboo.event.ChainEvent
getPlanKey, toString
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
-
Constructor Details
-
Method Details
-
getOriginalPlanKey
-
getNewPlanKey
-