public class LinkedDeploymentProjectCacheServiceImpl extends Object implements LinkedDeploymentProjectCacheService
Constructor and Description |
---|
LinkedDeploymentProjectCacheServiceImpl(CachedPlanManager cachedPlanManager,
DeploymentProjectDao deploymentProjectDao) |
Modifier and Type | Method and Description |
---|---|
void |
add(InternalDeploymentProject deploymentProject) |
List<LinkedDeploymentProject> |
getPlanAndBranchesRelatedDeployments(PlanKey masterOrBranchKey)
Retrieve list of deployment projects associated with any of the branches in the plan
|
List<LinkedDeploymentProject> |
getRelatedDeployments(PlanKey planKey) |
void |
initialiseCache() |
void |
invalidate(long deploymentProjectId) |
void |
refresh(InternalDeploymentProject deploymentProject) |
public LinkedDeploymentProjectCacheServiceImpl(CachedPlanManager cachedPlanManager, DeploymentProjectDao deploymentProjectDao)
public void initialiseCache()
initialiseCache
in interface LinkedDeploymentProjectCacheService
public void invalidate(long deploymentProjectId)
invalidate
in interface LinkedDeploymentProjectCacheService
public void add(@NotNull InternalDeploymentProject deploymentProject)
public void refresh(@NotNull InternalDeploymentProject deploymentProject)
refresh
in interface LinkedDeploymentProjectCacheService
@NotNull public List<LinkedDeploymentProject> getRelatedDeployments(@NotNull PlanKey planKey)
getRelatedDeployments
in interface LinkedDeploymentProjectCacheService
@NotNull public List<LinkedDeploymentProject> getPlanAndBranchesRelatedDeployments(@NotNull PlanKey masterOrBranchKey)
LinkedDeploymentProjectCacheService
getPlanAndBranchesRelatedDeployments
in interface LinkedDeploymentProjectCacheService
masterOrBranchKey
- identifies master plan or branchCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.