com.atlassian.bamboo.chains.events
Class ChainMovedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.bamboo.event.ChainEvent
                  extended by com.atlassian.bamboo.event.ChainUpdatedEvent
                      extended by 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

Field Summary
 
Fields inherited from class com.atlassian.bamboo.event.ChainEvent
planKey
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChainMovedEvent(java.lang.Object source, PlanKey originalPlanKey, PlanKey newPlanKey)
           
 
Method Summary
 PlanKey getNewPlanKey()
           
 PlanKey getOriginalPlanKey()
           
 
Methods inherited from class com.atlassian.bamboo.event.ChainEvent
getPlanKey, toString
 
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
 

Constructor Detail

ChainMovedEvent

public ChainMovedEvent(@NotNull
                       java.lang.Object source,
                       @NotNull
                       PlanKey originalPlanKey,
                       PlanKey newPlanKey)
Parameters:
source - event sender
originalPlanKey - Chain's key before change
newPlanKey - Chain's key after change
Method Detail

getOriginalPlanKey

public PlanKey getOriginalPlanKey()

getNewPlanKey

public PlanKey getNewPlanKey()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.