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
Modifier and TypeMethodDescription@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
void
invalidate
(long deploymentProjectId) void
refresh
(@NotNull InternalDeploymentProject deploymentProject)
-
Method Details
-
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
-