com.atlassian.bamboo.plan
Interface FilteringPlanManager

All Known Subinterfaces:
CachedPlanManager
All Known Implementing Classes:
CachedPlanManagerImpl

public interface FilteringPlanManager


Method Summary
<T extends Plan>
java.util.List<T>
getAllPlansForClone(java.lang.Class<T> planType)
          Deprecated. since 4.1 use getPlansForClone()
 java.util.List<ImmutableChain> getPlansForClone()
          Returns all Chain's.
<T extends ImmutablePlan>
java.util.List<T>
getRunnablePlans(Project project, java.lang.Class<T> planType)
          Returns all Plan's filtered by Project and Class.
<T extends Plan>
java.util.List<T>
getRunnablePlansByProject(Project project, java.lang.Class<T> planType)
          Deprecated. since 4.1 use getRunnablePlans(com.atlassian.bamboo.project.Project, java.lang.Class)
 

Method Detail

getPlansForClone

@NotNull
java.util.List<ImmutableChain> getPlansForClone()
Returns all Chain's. Return list filtered to show only plans the current user is allowed to clone.

Returns:
plans

getRunnablePlans

@NotNull
<T extends ImmutablePlan> java.util.List<T> getRunnablePlans(@NotNull
                                                                     Project project,
                                                                     @NotNull
                                                                     java.lang.Class<T> planType)
Returns all Plan's filtered by Project and Class. Only plans runnable by user will be returned.

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

getAllPlansForClone

@Deprecated
@NotNull
<T extends Plan> java.util.List<T> getAllPlansForClone(java.lang.Class<T> planType)
Deprecated. since 4.1 use getPlansForClone()

Returns all Plan's filtered by Class Return list filtered to show only plans the current user is allowed to clone.

Parameters:
planType - the class type of the plans you want returned
Returns:
plans

getRunnablePlansByProject

@Deprecated
@NotNull
<T extends Plan> java.util.List<T> getRunnablePlansByProject(Project project,
                                                                                java.lang.Class<T> planType)
Deprecated. since 4.1 use getRunnablePlans(com.atlassian.bamboo.project.Project, java.lang.Class)

Returns all Plan's filtered by Project and Class. Only plans runnable by user will be returned.

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.