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
 File getCacheDirectory()
           
 ResourceHandle getHandle(String bsn, String version, Strategy strategy, Map<String,String> properties)
          Retrieve a resource handle from the repository.
 
Methods inherited from interface aQute.bnd.service.RepositoryPlugin
canWrite, get, getLocation, getName, list, put, versions
 

Method Detail

getHandle

ResourceHandle getHandle(String bsn,
                         String version,
                         Strategy strategy,
                         Map<String,String> properties)
                         throws Exception
Retrieve a resource handle from the repository. For all implementations of this interface, calling getFile(bsn, range, strategy, props) should always return the same result as RepositoryPlugin#get(String, aQute.bnd.version.Version, Map)

Parameters:
bsn - the bsn of the revision
version - the version of the revision
strategy - strategy
properties - any properties
Returns:
Throws:
Exception

getCacheDirectory

File getCacheDirectory()


Copyright © 2014 aQute SARL. All rights reserved.