Package com.atlassian.bamboo.plan
Class PlanTestHelper
java.lang.Object
com.atlassian.bamboo.plan.PlanTestHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableChainBranch
mockChainBranch
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey chainBranchKey, @Nullable ImmutableChain chain) static <T extends ImmutableChain>
TmockPlan
(@NotNull CachedPlanManager cachedPlanManager, @NotNull PlanKey planKey, @NotNull Class<T> planClass, @Nullable ImmutableChain masterPlan) static <T extends ImmutablePlan>
TmockPlan
(@NotNull CachedPlanManager cachedPlanManager, @NotNull PlanKey planKey, Class<T> planClass) static <T extends ImmutableChain>
TmockPlan
(@NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull PlanKey planKey, Class<T> planClass) static <T extends ImmutableChain>
TmockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass) static <T extends ImmutableChain>
TmockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass, long id) static <T extends ImmutableChain>
TmockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass, @Nullable ImmutableChain masterPlan) static <T extends Plan>
Tstatic <T extends Plan>
Tstatic <T extends ImmutablePlan>
Tstatic <T extends ImmutablePlan>
Tstatic <T extends Plan>
TmockPlan
(@NotNull PlanManager planManager, @NotNull PlanKey planKey, long id, Class<T> planClass) static <T extends Plan>
TmockPlan
(@NotNull PlanManager planManager, @NotNull PlanKey planKey, Class<T> planClass) static <T extends Plan>
T
-
Constructor Details
-
PlanTestHelper
public PlanTestHelper()
-
-
Method Details
-
mockPlan
public static <T extends ImmutablePlan> T mockPlan(@NotNull @NotNull PlanKey planKey, Class<T> planClass) -
mockPlan
public static <T extends ImmutablePlan> T mockPlan(@NotNull @NotNull PlanKey planKey, Long id, Class<T> planClass) -
mockPlan
-
mockPlan
public static <T extends Plan> T mockPlan(@NotNull @NotNull PlanManager planManager, @NotNull @NotNull PlanKey planKey, Class<T> planClass) -
mockPlan
public static <T extends Plan> T mockPlan(@NotNull @NotNull PlanManager planManager, @NotNull @NotNull PlanKey planKey, long id, Class<T> planClass) -
mockPlan
-
mockPlan
-
mockPlan
public static <T extends ImmutablePlan> T mockPlan(@NotNull @NotNull CachedPlanManager cachedPlanManager, @NotNull @NotNull PlanKey planKey, Class<T> planClass) -
mockPlan
public static <T extends ImmutableChain> T mockPlan(@NotNull @NotNull CachedPlanManager cachedPlanManager, @NotNull @NotNull PlanKey planKey, @NotNull @NotNull Class<T> planClass, @Nullable @Nullable ImmutableChain masterPlan) -
mockPlan
public static <T extends ImmutableChain> T mockPlan(@NotNull @NotNull ImmutablePlanManager immutablePlanManager, @NotNull @NotNull PlanKey planKey, Class<T> planClass, long id) -
mockPlan
public static <T extends ImmutableChain> T mockPlan(@NotNull @NotNull ImmutablePlanManager immutablePlanManager, @NotNull @NotNull PlanKey planKey, Class<T> planClass) -
mockPlan
public static <T extends ImmutableChain> T mockPlan(@NotNull @NotNull ImmutablePlanManager immutablePlanManager, @NotNull @NotNull PlanKey planKey, Class<T> planClass, @Nullable @Nullable ImmutableChain masterPlan) -
mockChainBranch
public static ImmutableChainBranch mockChainBranch(@NotNull @NotNull ImmutablePlanManager immutablePlanManager, @NotNull @NotNull PlanKey chainBranchKey, @Nullable @Nullable ImmutableChain chain) -
mockPlan
public static <T extends ImmutableChain> T mockPlan(@NotNull @NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull @NotNull PlanKey planKey, Class<T> planClass)
-