Package org.apache.maven.buildcache
Interface RemoteCacheRepository
- All Superinterfaces:
CacheRepository
- All Known Implementing Classes:
RemoteCacheRepositoryImpl,RemoteCacheRepositoryNoOp
Remote cache repository.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindBaselineBuild(org.apache.maven.project.MavenProject project) booleangetArtifactContent(CacheContext context, Artifact artifact, Path target) Download an artifact to the given location.getResourceUrl(CacheContext context, String filename) Methods inherited from interface org.apache.maven.buildcache.CacheRepository
findBuild, saveArtifactFile, saveBuildInfo, saveCacheReport
-
Field Details
-
BUILDINFO_XML
- See Also:
-
CACHE_REPORT_XML
- See Also:
-
-
Method Details
-
getArtifactContent
Download an artifact to the given location. Returnstrueif success,falseif the artifact does not exists and throws anIOExceptionif a problem occurs.- Throws:
IOException
-
getResourceUrl
-
findBaselineBuild
-