Class BuildCacheHolder

    • Method Detail

      • addCacheForPublishing

        public void addCacheForPublishing​(@NotNull
                                          String cacheName)
      • containsCacheForPublishing

        public boolean containsCacheForPublishing​(@NotNull
                                                  String cacheName)
      • addCachePathForPublishing

        public void addCachePathForPublishing​(@NotNull
                                              String cacheName,
                                              @NotNull
                                              String path)
      • addCachePathsForPublishing

        public void addCachePathsForPublishing​(@NotNull
                                               String cacheName,
                                               @NotNull
                                               Collection<String> paths)
      • getCachePathsForPublishing

        @NotNull
        public Map<String,​Set<String>> getCachePathsForPublishing()
      • setCacheContentChecksum

        public void setCacheContentChecksum​(@NotNull
                                            String cacheName,
                                            @Nullable
                                            String checksum)
      • getCacheContentChecksum

        @Nullable
        public String getCacheContentChecksum​(@NotNull
                                              String cacheName)
      • setCacheRulesChecksum

        public void setCacheRulesChecksum​(@NotNull
                                          String cacheName,
                                          @NotNull
                                          String checksum)
      • getCacheRulesChecksum

        @Nullable
        public String getCacheRulesChecksum​(@NotNull
                                            String cacheName)
      • setDownloadedCacheContentChecksum

        public void setDownloadedCacheContentChecksum​(@NotNull
                                                      String cacheName,
                                                      @Nullable
                                                      String checksum)
      • getDownloadedCacheContentChecksum

        @Nullable
        public String getDownloadedCacheContentChecksum​(@NotNull
                                                        String cacheName)
      • setDownloadedCacheRulesChecksum

        public void setDownloadedCacheRulesChecksum​(@NotNull
                                                    String cacheName,
                                                    @NotNull
                                                    String checksum)
      • getDownloadedCacheRulesChecksum

        @Nullable
        public String getDownloadedCacheRulesChecksum​(@NotNull
                                                      String cacheName)
      • setPublishOnlyChanged

        public void setPublishOnlyChanged​(@NotNull
                                          String name,
                                          boolean value)
      • shouldPublishOnlyChanged

        public boolean shouldPublishOnlyChanged​(@NotNull
                                                String cacheName)
      • setCalculateContentChecksum

        public void setCalculateContentChecksum​(@NotNull
                                                String cacheName,
                                                boolean value)
      • shouldCalculateContentChecksum

        public boolean shouldCalculateContentChecksum​(@NotNull
                                                      String cacheName)
      • markPublishingAsSuccessful

        public void markPublishingAsSuccessful​(@NotNull
                                               String cacheName)
      • markPublishingAsFailed

        public void markPublishingAsFailed​(@NotNull
                                           String cacheName)
      • isPublished

        public boolean isPublished​(@NotNull
                                   String cacheName)
      • getCachePublishingExclusionRules

        public Set<String> getCachePublishingExclusionRules​(@NotNull
                                                            String cacheName,
                                                            @NotNull
                                                            String cachePath)
      • addCachePublishingExclusionRules

        public void addCachePublishingExclusionRules​(@NotNull
                                                     String cacheName,
                                                     @NotNull
                                                     String cachePath,
                                                     @NotNull
                                                     Collection<String> exclusionRules)
      • getCachePublishingInclusionRules

        public Set<String> getCachePublishingInclusionRules​(@NotNull
                                                            String cacheName,
                                                            @NotNull
                                                            String cachePath)
      • addCachePublishingInclusionRules

        public void addCachePublishingInclusionRules​(@NotNull
                                                     String cacheName,
                                                     @NotNull
                                                     String cachePath,
                                                     @NotNull
                                                     Collection<String> inclusionRules)
      • updateBuildCacheState

        public void updateBuildCacheState​(@NotNull
                                          BuildCacheState state)