Package aQute.bnd.service
Interface RemoteRepositoryPlugin
-
- All Superinterfaces:
RepositoryPlugin
public interface RemoteRepositoryPlugin extends RepositoryPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface aQute.bnd.service.RepositoryPlugin
RepositoryPlugin.DownloadListener, RepositoryPlugin.PutOptions, RepositoryPlugin.PutResult
-
-
Field Summary
-
Fields inherited from interface aQute.bnd.service.RepositoryPlugin
DEFAULTOPTIONS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getCacheDirectory()
ResourceHandle
getHandle(java.lang.String bsn, java.lang.String version, Strategy strategy, java.util.Map<java.lang.String,java.lang.String> properties)
Retrieve a resource handle from the repository.
-
-
-
Method Detail
-
getHandle
ResourceHandle getHandle(java.lang.String bsn, java.lang.String version, Strategy strategy, java.util.Map<java.lang.String,java.lang.String> properties) throws java.lang.Exception
Retrieve 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:
java.lang.Exception
-
getCacheDirectory
java.io.File getCacheDirectory()
-
-