com.atlassian.bamboo.plan.cache
Interface ImmutablePlanManager
- All Known Implementing Classes:
- ImmutablePlanManagerImpl
public interface ImmutablePlanManager
Transactional manager for immutable plans. Only works for Chain
.
You shouldn't use this. Really.
- Since:
- v3.4
getPlanByKey
@Nullable
Chain getPlanByKey(@NotNull
PlanKey planKey)
getLatestResultForPlan
@Nullable
ResultsSummary getLatestResultForPlan(PlanKey planKey)
getChainResultDetails
@Nullable
ChainResultDetails getChainResultDetails(PlanResultKey planResultKey)
createImmutableChain
@NotNull
Chain createImmutableChain(@NotNull
Chain chain)
createImmutableJob
@NotNull
Job createImmutableJob(@NotNull
Chain parent,
@NotNull
ChainStage stage,
@NotNull
Job job)
- Parameters:
parent
- instance of ImmutablePlanImplstage
- instance of ImmutableChainStageImpljob
-
- Returns:
createImmutableStage
ChainStage createImmutableStage(@NotNull
Chain parent,
@NotNull
ChainStage stage)
- Create immutable
ChainStage
.
Used to create immutable cached object from persisted entity.
- Parameters:
parent
- Chain
object (expecting an immutable object here as well)stage
- ChainStage
object used as a source of all properties including jobs
- Returns:
Copyright © 2012 Atlassian. All Rights Reserved.