|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectaQute.bnd.repo.eclipse.EclipseRepo
public class EclipseRepo
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface aQute.bnd.service.RepositoryPlugin |
|---|
RepositoryPlugin.Strategy |
| Field Summary | |
|---|---|
static java.lang.String |
LOCATION
|
static java.lang.String |
NAME
|
| Constructor Summary | |
|---|---|
EclipseRepo()
|
|
| Method Summary | |
|---|---|
boolean |
canWrite()
Answer if this repository can be used to store files. |
java.io.File[] |
get(java.lang.String bsn,
java.lang.String range)
Return a URL to a matching version of the given bundle. |
java.io.File |
get(java.lang.String bsn,
java.lang.String range,
RepositoryPlugin.Strategy strategy,
java.util.Map<java.lang.String,java.lang.String> properties)
Return a URL to a matching version of the given bundle. |
java.lang.String |
getName()
|
java.util.List<java.lang.String> |
list(java.lang.String regex)
Return a list of bsns that are present in the repository. |
java.io.File |
put(Jar jar)
Put a JAR file in the repository. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Give the plugin the remaining properties. |
void |
setReporter(Reporter reporter)
Set the current reporter. |
java.util.List<Version> |
versions(java.lang.String bsn)
Return a list of versions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String LOCATION
public static java.lang.String NAME
| Constructor Detail |
|---|
public EclipseRepo()
| Method Detail |
|---|
public void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Plugin
setProperties in interface Pluginmap - attributes and directives for this plugin's clausepublic void setReporter(Reporter reporter)
Plugin
setReporter in interface Pluginpublic boolean canWrite()
RepositoryPlugin
canWrite in interface RepositoryPlugin
public java.io.File[] get(java.lang.String bsn,
java.lang.String range)
throws java.lang.Exception
RepositoryPlugin
get in interface RepositoryPluginbsn - Bundle-SymbolicName of the searched bundlerange - Version range for this bundle,"latest" if you only want the
latest, or null when you want all.
java.lang.Exception - when anything goes wrongpublic java.lang.String getName()
getName in interface RepositoryPluginpublic java.util.List<java.lang.String> list(java.lang.String regex)
RepositoryPlugin
list in interface RepositoryPluginregex - if not null, match against the bsn and if matches, return
otherwise skip
public java.io.File put(Jar jar)
throws java.lang.Exception
RepositoryPlugin
put in interface RepositoryPluginjava.lang.Exceptionpublic java.util.List<Version> versions(java.lang.String bsn)
RepositoryPlugin
versions in interface RepositoryPlugin
public java.io.File get(java.lang.String bsn,
java.lang.String range,
RepositoryPlugin.Strategy strategy,
java.util.Map<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
RepositoryPlugin
get in interface RepositoryPluginbsn - Bundle-SymbolicName of the searched bundlerange - Version range for this bundle,"latest" if you only want the
latest, or null when you want all.strategy - Get the highest or the lowest
java.lang.Exception - when anything goes wrong
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||