com.atlassian.bamboo.event
Class BuildsMovedEvent

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.BuildsMovedEvent
All Implemented Interfaces:
java.io.Serializable

@AsynchronousPreferred
public class BuildsMovedEvent
extends com.atlassian.event.Event

Triggers when builds are moved

See Also:
Serialized Form

Field Summary
 java.util.Collection<TopLevelPlan> movedPlans
           
 java.util.Map<PlanKey,PlanKey> planKeyChangesMap
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BuildsMovedEvent(java.lang.Object object, java.util.Collection<TopLevelPlan> movedBuilds, java.util.Map<PlanKey,PlanKey> planKeyChangesMap)
           
 
Method Summary
 java.util.Collection<TopLevelPlan> getMovedBuilds()
          Deprecated. since 3.1; use getMovedPlans()
 java.util.Collection<TopLevelPlan> getMovedPlans()
          Deprecated. since 4.0 get the list of planKeys changed and re-get out plans as required.
 java.util.Map<PlanKey,PlanKey> getPlanKeyChangesMap()
          Gets the mapping between old and new plan keys.
 
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, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

movedPlans

public final java.util.Collection<TopLevelPlan> movedPlans

planKeyChangesMap

public final java.util.Map<PlanKey,PlanKey> planKeyChangesMap
Constructor Detail

BuildsMovedEvent

public BuildsMovedEvent(java.lang.Object object,
                        java.util.Collection<TopLevelPlan> movedBuilds,
                        java.util.Map<PlanKey,PlanKey> planKeyChangesMap)
Method Detail

getMovedBuilds

@Deprecated
public java.util.Collection<TopLevelPlan> getMovedBuilds()
Deprecated. since 3.1; use getMovedPlans()

Gets the builds affected by the move

Returns:
A Collection of TopLevelPlan

getMovedPlans

@Deprecated
public java.util.Collection<TopLevelPlan> getMovedPlans()
Deprecated. since 4.0 get the list of planKeys changed and re-get out plans as required.

Gets the plans affected by the move

Returns:
A Collection of TopLevelPlan

getPlanKeyChangesMap

public java.util.Map<PlanKey,PlanKey> getPlanKeyChangesMap()
Gets the mapping between old and new plan keys.



Copyright © 2012 Atlassian. All Rights Reserved.