com.atlassian.bamboo.plan.cache
Class ImmutablePlanManagerImpl
java.lang.Object
com.atlassian.bamboo.plan.cache.ImmutablePlanManagerImpl
- All Implemented Interfaces:
- ImmutablePlanManager
public class ImmutablePlanManagerImpl
- extends java.lang.Object
- implements ImmutablePlanManager
- Since:
- v3.4
Constructor Summary |
ImmutablePlanManagerImpl(PlanManager planManager,
ResultsSummaryManager resultsSummaryManager,
ArtifactDefinitionManager artifactDefinitionManager,
ArtifactSubscriptionManager artifactSubscriptionManager,
BuildDefinitionManager buildDefinitionManager,
BuildLoggerManager buildLoggerManager,
LabelManager labelManager,
RepositoryDefinitionManager repositoryDefinitionManager,
TaskManager taskManager,
TriggerManager triggerManager,
VariableDefinitionManager variableDefinitionManager,
BuildExecutionManager buildExecutionManager,
org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutablePlanManagerImpl
public ImmutablePlanManagerImpl(PlanManager planManager,
ResultsSummaryManager resultsSummaryManager,
ArtifactDefinitionManager artifactDefinitionManager,
ArtifactSubscriptionManager artifactSubscriptionManager,
BuildDefinitionManager buildDefinitionManager,
BuildLoggerManager buildLoggerManager,
LabelManager labelManager,
RepositoryDefinitionManager repositoryDefinitionManager,
TaskManager taskManager,
TriggerManager triggerManager,
VariableDefinitionManager variableDefinitionManager,
BuildExecutionManager buildExecutionManager,
@NotNull
org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate)
getPlanByKey
@Nullable
public Chain getPlanByKey(@NotNull
PlanKey planKey)
- Specified by:
getPlanByKey
in interface ImmutablePlanManager
getLatestResultForPlan
public ResultsSummary getLatestResultForPlan(PlanKey planKey)
- Specified by:
getLatestResultForPlan
in interface ImmutablePlanManager
getChainResultDetails
public ChainResultDetails getChainResultDetails(PlanResultKey planResultKey)
- Specified by:
getChainResultDetails
in interface ImmutablePlanManager
createImmutableChain
@NotNull
public Chain createImmutableChain(@NotNull
Chain chain)
- Specified by:
createImmutableChain
in interface ImmutablePlanManager
createImmutableJob
@NotNull
public ImmutableJobImpl createImmutableJob(@NotNull
Chain parent,
@NotNull
ChainStage stage,
@NotNull
Job job)
- Specified by:
createImmutableJob
in interface ImmutablePlanManager
- Parameters:
parent
- instance of ImmutablePlanImplstage
- instance of ImmutableChainStageImpl
- Returns:
createImmutableStage
public ChainStage createImmutableStage(@NotNull
Chain parent,
@NotNull
ChainStage stage)
- Description copied from interface:
ImmutablePlanManager
- Create immutable
ChainStage
.
Used to create immutable cached object from persisted entity.
- Specified by:
createImmutableStage
in interface ImmutablePlanManager
- 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.