com.atlassian.bamboo.plan
Class PlanTestHelper

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

public class PlanTestHelper
extends java.lang.Object


Constructor Summary
PlanTestHelper()
           
 
Method Summary
static
<T extends ImmutablePlan>
T
mockPlan(CachedPlanManager cachedPlanManager, PlanKey planKey, java.lang.Class<T> planClass)
           
static
<T extends ImmutableChain>
T
mockPlan(ImmutablePlanCacheService immutablePlanCacheService, PlanKey planKey, java.lang.Class<T> planClass)
           
static
<T extends Chain>
T
mockPlan(ImmutablePlanManager immutablePlanManager, PlanKey planKey, java.lang.Class<T> planClass)
           
static
<T extends Plan>
T
mockPlan(PlanDao planDao, PlanKey planKey, java.lang.Class<T> planClass)
           
static
<T extends ImmutablePlan>
T
mockPlan(PlanKey planKey, java.lang.Class<T> planClass)
           
static
<T extends Plan>
T
mockPlan(PlanManager planManager, PlanKey planKey, java.lang.Class<T> planClass)
           
static
<T extends Plan>
T
mockPlan(java.lang.String planKey, java.lang.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,
                                                   java.lang.Class<T> planClass)

mockPlan

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

mockPlan

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

mockPlan

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

mockPlan

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

mockPlan

public static <T extends Chain> T mockPlan(@NotNull
                                           ImmutablePlanManager immutablePlanManager,
                                           @NotNull
                                           PlanKey planKey,
                                           java.lang.Class<T> planClass)

mockPlan

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


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