Package org.apache.maven.buildcache
Interface RemoteCacheRepository
- 
- All Superinterfaces:
- CacheRepository
 - All Known Implementing Classes:
- RemoteCacheRepositoryImpl,- RemoteCacheRepositoryNoOp
 
 public interface RemoteCacheRepository extends CacheRepository Remote cache repository.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringBUILDINFO_XMLstatic StringCACHE_REPORT_XML
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Build>findBaselineBuild(org.apache.maven.project.MavenProject project)booleangetArtifactContent(CacheContext context, Artifact artifact, Path target)Download an artifact to the given location.StringgetResourceUrl(CacheContext context, String filename)- 
Methods inherited from interface org.apache.maven.buildcache.CacheRepositoryfindBuild, saveArtifactFile, saveBuildInfo, saveCacheReport
 
- 
 
- 
- 
- 
Field Detail- 
BUILDINFO_XMLstatic final String BUILDINFO_XML - See Also:
- Constant Field Values
 
 - 
CACHE_REPORT_XMLstatic final String CACHE_REPORT_XML - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getArtifactContentboolean getArtifactContent(CacheContext context, Artifact artifact, Path target) throws IOException Download an artifact to the given location. Returnstrueif success,falseif the artifact does not exists and throws anIOExceptionif a problem occurs.- Throws:
- IOException
 
 - 
getResourceUrl@Nonnull String getResourceUrl(CacheContext context, String filename) 
 
- 
 
-