com.atlassian.bamboo.deployments.cache
Class LinkedDeploymentProjectCacheServiceImpl
java.lang.Object
com.atlassian.bamboo.deployments.cache.LinkedDeploymentProjectCacheServiceImpl
- All Implemented Interfaces:
- LinkedDeploymentProjectCacheService
public class LinkedDeploymentProjectCacheServiceImpl
- extends java.lang.Object
- implements LinkedDeploymentProjectCacheService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedDeploymentProjectCacheServiceImpl
public LinkedDeploymentProjectCacheServiceImpl(CachedPlanManager cachedPlanManager,
DeploymentProjectDao deploymentProjectDao)
initialiseCache
public void initialiseCache()
- Specified by:
initialiseCache in interface LinkedDeploymentProjectCacheService
invalidate
public void invalidate(long deploymentProjectId)
- Specified by:
invalidate in interface LinkedDeploymentProjectCacheService
add
public void add(@NotNull
InternalDeploymentProject deploymentProject)
refresh
public void refresh(@NotNull
InternalDeploymentProject deploymentProject)
- Specified by:
refresh in interface LinkedDeploymentProjectCacheService
getRelatedDeployments
@NotNull
public java.util.List<LinkedDeploymentProject> getRelatedDeployments(@NotNull
PlanKey planKey)
- Specified by:
getRelatedDeployments in interface LinkedDeploymentProjectCacheService
getPlanAndBranchesRelatedDeployments
@NotNull
public java.util.List<LinkedDeploymentProject> getPlanAndBranchesRelatedDeployments(@NotNull
PlanKey masterOrBranchKey)
- Description copied from interface:
LinkedDeploymentProjectCacheService
- Retrieve list of deployment projects associated with any of the branches in the plan
- Specified by:
getPlanAndBranchesRelatedDeployments in interface LinkedDeploymentProjectCacheService
- Parameters:
masterOrBranchKey - identifies master plan or branch
- Returns:
- list of deployment projects
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.