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 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

      void refresh(@NotNull @NotNull InternalDeploymentProject deploymentProject)