Package org.apache.maven.buildcache
Interface CacheRepository
- 
- All Known Subinterfaces:
- LocalCacheRepository,- RemoteCacheRepository
 - All Known Implementing Classes:
- LocalCacheRepositoryImpl,- RemoteCacheRepositoryImpl,- RemoteCacheRepositoryNoOp
 
 public interface CacheRepositoryCache repository.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Build>findBuild(CacheContext context)voidsaveArtifactFile(CacheResult cacheResult, org.apache.maven.artifact.Artifact artifact)voidsaveBuildInfo(CacheResult cacheResult, Build build)voidsaveCacheReport(String buildId, org.apache.maven.execution.MavenSession session, CacheReport cacheReport)
 
- 
- 
- 
Method Detail- 
findBuild@Nonnull Optional<Build> findBuild(CacheContext context) throws IOException - Throws:
- IOException
 
 - 
saveBuildInfovoid saveBuildInfo(CacheResult cacheResult, Build build) throws IOException - Throws:
- IOException
 
 - 
saveArtifactFilevoid saveArtifactFile(CacheResult cacheResult, org.apache.maven.artifact.Artifact artifact) throws IOException - Throws:
- IOException
 
 - 
saveCacheReportvoid saveCacheReport(String buildId, org.apache.maven.execution.MavenSession session, CacheReport cacheReport) throws IOException - Throws:
- IOException
 
 
- 
 
-