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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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)
-
-
-
Method Detail
-
getRelatedDeployments
@NotNull @NotNull List<LinkedDeploymentProject> getRelatedDeployments(@NotNull @NotNull PlanKey planKey)
-
getPlanAndBranchesRelatedDeployments
@NotNull @NotNull List<LinkedDeploymentProject> getPlanAndBranchesRelatedDeployments(@NotNull @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 @NotNull InternalDeploymentProject deploymentProject)
-
-