public class FileInstallRepo extends FileRepo
RepositoryPlugin.Strategy| Constructor and Description |
|---|
FileInstallRepo() |
| Modifier and Type | Method and Description |
|---|---|
File[] |
get(String bsn,
String versionRange)
Get a list of URLs to bundles that are constrained by the bsn and
versionRange.
|
List<String> |
list(String regex)
Return a list of bsns that are present in the repository.
|
File |
put(Jar jar)
Put a JAR file in the repository.
|
boolean |
refresh() |
void |
setProperties(Map<String,String> map)
Give the plugin the remaining properties.
|
void |
setReporter(Reporter reporter)
Set the current reporter.
|
canWrite, fireBundleAdded, get, getName, getRoot, init, setLocation, setRegistry, toString, versionspublic void setProperties(Map<String,String> map)
PluginsetProperties in interface PluginsetProperties in class FileRepomap - attributes and directives for this plugin's clausepublic void setReporter(Reporter reporter)
PluginsetReporter in interface PluginsetReporter in class FileRepopublic File put(Jar jar) throws Exception
RepositoryPluginput in interface RepositoryPluginput in class FileRepoExceptionpublic boolean refresh()
refresh in interface Refreshablerefresh in class FileRepopublic List<String> list(String regex)
RepositoryPluginlist in interface RepositoryPluginlist in class FileReporegex - if not null, match against the bsn and if matches, return
otherwise skippublic File[] get(String bsn, String versionRange) throws MalformedURLException
FileRepoget in interface RepositoryPluginget in class FileRepobsn - Bundle-SymbolicName of the searched bundleversionRange - Version range for this bundle,"latest" if you only want the
latest, or null when you want all.MalformedURLExceptionCopyright © 2015 aQute SARL. All Rights Reserved.