com.atlassian.bamboo.deployments.cache
Interface LinkedDeploymentProjectCacheService
- All Known Implementing Classes:
- LinkedDeploymentProjectCacheServiceImpl
@ExperimentalApi
public interface LinkedDeploymentProjectCacheService
Cache for relation between plans and deployment projects.
This is experimental api, possibly subject to change when full deployment project caching is implemented.
getRelatedDeployments
@NotNull
List<LinkedDeploymentProject> getRelatedDeployments(@NotNull
PlanKey planKey)
getPlanAndBranchesRelatedDeployments
@NotNull
List<LinkedDeploymentProject> getPlanAndBranchesRelatedDeployments(@NotNull
PlanKey masterOrBranchKey)
- Retrieve list of deployment projects associated with any of the branches in the plan
- Parameters:
masterOrBranchKey - identifies master plan or branch
- Returns:
- list of deployment projects
initialiseCache
void initialiseCache()
invalidate
void invalidate(long deploymentProjectId)
refresh
void refresh(@NotNull
InternalDeploymentProject deploymentProject)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.