public class CacheChecker extends Object
| Constructor and Description |
|---|
CacheChecker(Cache cache) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areSourceFilesModified(List<Path> sourceFiles)
Deprecated.
|
CachedLayer |
getLayer(DescriptorDigest layerDigest) |
CachedLayer |
getUpToDateLayerBySourceFiles(List<Path> sourceFiles) |
public CacheChecker(Cache cache)
public CachedLayer getLayer(DescriptorDigest layerDigest) throws LayerPropertyNotFoundException
layerDigestLayerPropertyNotFoundExceptionpublic CachedLayer getUpToDateLayerBySourceFiles(List<Path> sourceFiles) throws IOException, CacheMetadataCorruptedException
sourceFiles.IOExceptionCacheMetadataCorruptedException@Deprecated public boolean areSourceFilesModified(List<Path> sourceFiles) throws IOException, CacheMetadataCorruptedException
sourceFiles - the source files to checkIOExceptionCacheMetadataCorruptedExceptionCopyright © 2018. All rights reserved.