com.atlassian.bamboo.chains.events
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, java.io.Serializable
public class ChainMovedEvent
- extends ChainUpdatedEvent
Synchronous event sent when Chain is being moved allowing plugins and Bamboo components to react on Chain key change.
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
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ChainMovedEvent
public ChainMovedEvent(@NotNull
java.lang.Object source,
@NotNull
PlanKey originalPlanKey,
PlanKey newPlanKey)
- Parameters:
source
- event senderoriginalPlanKey
- Chain's key before changenewPlanKey
- Chain's key after change
getOriginalPlanKey
public PlanKey getOriginalPlanKey()
getNewPlanKey
public PlanKey getNewPlanKey()
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.