Package aQute.maven.provider
Class MavenBackingRepository
java.lang.Object
aQute.maven.provider.MavenBackingRepository
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
MavenFileRepository,MavenRemoteRepository
-
Constructor Summary
ConstructorsConstructorDescriptionMavenBackingRepository(File root, String base, aQute.service.reporter.Reporter reporter) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckDigest(String fileDigest, String remoteDigest, File file) static Stringvoidclose()static List<MavenBackingRepository>create(String urls, aQute.service.reporter.Reporter reporter, File localRepo, aQute.bnd.http.HttpClient client) abstract booleanaQute.bnd.service.url.TaggedDataabstract aQute.bnd.service.url.TaggedDatastatic MavenBackingRepositorygetBackingRepository(String url, aQute.service.reporter.Reporter reporter, File localRepo, aQute.bnd.http.HttpClient client) getId()voidgetRevisions(Program program, List<Revision> revisions) getSnapshotArchives(Revision revision) getUser()aQute.bnd.version.MavenVersiongetVersion(Revision revision) abstract booleanisFile()abstract booleanisRemote()abstract voidstatic Stringabstract StringtoString()abstract URI
-
Constructor Details
-
Method Details
-
toName
- Throws:
Exception
-
fetch
- Throws:
Exception
-
fetch
public abstract aQute.bnd.service.url.TaggedData fetch(String path, File file, boolean force) throws Exception - Throws:
Exception
-
checkDigest
-
store
- Throws:
Exception
-
delete
- Throws:
Exception
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
toURI
- Throws:
Exception
-
getRevisions
- Throws:
Exception
-
getSnapshotArchives
- Throws:
Exception
-
getVersion
- Throws:
Exception
-
getId
-
toString
-
getUser
- Throws:
Exception
-
create
public static List<MavenBackingRepository> create(String urls, aQute.service.reporter.Reporter reporter, File localRepo, aQute.bnd.http.HttpClient client) throws Exception - Throws:
Exception
-
getBackingRepository
public static MavenBackingRepository getBackingRepository(String url, aQute.service.reporter.Reporter reporter, File localRepo, aQute.bnd.http.HttpClient client) throws Exception - Throws:
Exception
-
clean
-
isFile
public abstract boolean isFile() -
isRemote
public abstract boolean isRemote()
-