|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryPlugin
| Method Summary | |
|---|---|
boolean |
canWrite()
Answer if this repository can be used to store files. |
File[] |
get(String bsn,
String range)
Return a URL to a matching version of the given bundle. |
String |
getName()
|
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. |
List<Version> |
versions(String bsn)
Return a list of versions. |
| Method Detail |
|---|
File[] get(String bsn,
String range)
throws Exception
bsn - Bundle-SymbolicName of the searched bundlerange - Version range for this bundle,"latest" if you only want the
latest, or null when you want all.
Exception - when anything goes wrongboolean canWrite()
File put(Jar jar)
throws Exception
jar -
ExceptionList<String> list(String regex)
regex - if not null, match against the bsn and if matches, return otherwise skip
List<Version> versions(String bsn)
String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||