com.atlassian.bamboo.migration.plan
Class RiggedPlanManager

java.lang.Object
  extended by com.atlassian.bamboo.migration.plan.PlanManagerDecorator
      extended by com.atlassian.bamboo.migration.plan.RiggedPlanManager
All Implemented Interfaces:
PlanManager

public class RiggedPlanManager
extends PlanManagerDecorator

Rigged to return a specific Plan


Constructor Summary
RiggedPlanManager(PlanManager planManager, Plan plan)
           
 
Method Summary
<T extends Plan>
java.util.List<T>
getAllPlansByProject(Project project, java.lang.Class<T> planType)
          Returns all Plan's filtered by Project and Class, including the plans marked for deletion.
 
Methods inherited from class com.atlassian.bamboo.migration.plan.PlanManagerDecorator
assertPlanPermission, createPlan, deletePlan, filterFavouritedPlans, getAllPlans, getAllPlans, getAllPlansMarkedForDeletion, getAllPlansUnrestricted, getFavouritePlans, getPlanById, getPlanById, getPlanByKey, getPlanByKey, getPlanByKey, getPlanByKey, getPlanByKeyIfOfType, getPlanByKeyIfOfType, getPlanByName, getPlanByPartialKeyAndName, getPlanByResultKey, getPlanByResultKey, getPlanClass, getPlanCount, getPlanCount, getPlanIdentifierForPermissionCheckingByKey, getPlanIdentifiersForProject, getPlansByProject, getPlansByProject, getProjectPlanMap, isChainNameConflicting, isPlanCreationAllowed, movePlanToProject, savePlan, setPlanSuspendedState, triggerConfigUpdatedEventsForPlansInProject, updateNamesAndDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiggedPlanManager

public RiggedPlanManager(PlanManager planManager,
                         Plan plan)
Method Detail

getAllPlansByProject

@NotNull
public <T extends Plan> java.util.List<T> getAllPlansByProject(Project project,
                                                                       java.lang.Class<T> planType)
Description copied from interface: PlanManager
Returns all Plan's filtered by Project and Class, including the plans marked for deletion.

Specified by:
getAllPlansByProject in interface PlanManager
Overrides:
getAllPlansByProject in class PlanManagerDecorator
Parameters:
project - - that the plans will belong to
planType - - the type of the plan to retrieve
Returns:
plans contained within the given project and of the given type


Copyright © 2012 Atlassian. All Rights Reserved.