Interface RemoteRepositoryPlugin
- All Superinterfaces:
RepositoryPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface RepositoryPlugin
RepositoryPlugin.DownloadListener, RepositoryPlugin.PutOptions, RepositoryPlugin.PutResult -
Field Summary
Fields inherited from interface RepositoryPlugin
DEFAULTOPTIONS -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a resource handle from the repository.
-
Method Details
-
getHandle
ResourceHandle getHandle(String bsn, String version, Strategy strategy, Map<String, String> properties) throws ExceptionRetrieve a resource handle from the repository. For all implementations of this interface, callinggetFile(bsn, range, strategy, props)should always return the same result asRepositoryPlugin.get(String, aQute.bnd.version.Version, Map, aQute.bnd.service.RepositoryPlugin.DownloadListener...)- Parameters:
bsn- the bsn of the revisionversion- the version of the revisionstrategy- strategyproperties- any properties- Returns:
- a
ResourceHandle - Throws:
Exception
-
getCacheDirectory
File getCacheDirectory()
-