com.atlassian.bamboo.plan
Class PlanTestHelper

java.lang.Object
  extended by com.atlassian.bamboo.plan.PlanTestHelper

public class PlanTestHelper
extends Object


Constructor Summary
PlanTestHelper()
           
 
Method Summary
static
<T extends ImmutablePlan>
T
mockPlan(CachedPlanManager cachedPlanManager, PlanKey planKey, Class<T> planClass)
           
static
<T extends ImmutableChain>
T
mockPlan(ImmutablePlanCacheService immutablePlanCacheService, PlanKey planKey, Class<T> planClass)
           
static
<T extends ImmutableChain>
T
mockPlan(ImmutablePlanManager immutablePlanManager, PlanKey planKey, Class<T> planClass)
           
static
<T extends Plan>
T
mockPlan(PlanDao planDao, PlanKey planKey, Class<T> planClass)
           
static
<T extends ImmutablePlan>
T
mockPlan(PlanKey planKey, Class<T> planClass)
           
static
<T extends Plan>
T
mockPlan(PlanManager planManager, PlanKey planKey, Class<T> planClass)
           
static
<T extends Plan>
T
mockPlan(String planKey, Class<T> planClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanTestHelper

public PlanTestHelper()
Method Detail

mockPlan

public static <T extends ImmutablePlan> T mockPlan(@NotNull
                                                   PlanKey planKey,
                                                   Class<T> planClass)

mockPlan

public static <T extends Plan> T mockPlan(@NotNull
                                          String planKey,
                                          Class<T> planClass)

mockPlan

public static <T extends Plan> T mockPlan(@NotNull
                                          PlanManager planManager,
                                          @NotNull
                                          PlanKey planKey,
                                          Class<T> planClass)

mockPlan

public static <T extends Plan> T mockPlan(@NotNull
                                          PlanDao planDao,
                                          @NotNull
                                          PlanKey planKey,
                                          Class<T> planClass)

mockPlan

public static <T extends ImmutablePlan> T mockPlan(@NotNull
                                                   CachedPlanManager cachedPlanManager,
                                                   @NotNull
                                                   PlanKey planKey,
                                                   Class<T> planClass)

mockPlan

public static <T extends ImmutableChain> T mockPlan(@NotNull
                                                    ImmutablePlanManager immutablePlanManager,
                                                    @NotNull
                                                    PlanKey planKey,
                                                    Class<T> planClass)

mockPlan

public static <T extends ImmutableChain> T mockPlan(@NotNull
                                                    ImmutablePlanCacheService immutablePlanCacheService,
                                                    @NotNull
                                                    PlanKey planKey,
                                                    Class<T> planClass)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.