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