Class ChainMovedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.bamboo.event.ChainEvent
-
- com.atlassian.bamboo.event.ChainUpdatedEvent
-
- com.atlassian.bamboo.chains.events.ChainMovedEvent
-
- All Implemented Interfaces:
PlanEvent
,Serializable
public class ChainMovedEvent extends ChainUpdatedEvent
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.event.ChainEvent
planKey
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ChainMovedEvent(@NotNull Object source, @NotNull PlanKey originalPlanKey, PlanKey newPlanKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanKey
getNewPlanKey()
PlanKey
getOriginalPlanKey()
-
Methods inherited from class com.atlassian.bamboo.event.ChainEvent
getPlanKey, toString
-
Methods inherited from class java.util.EventObject
getSource
-
-