|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryStore
first cut at a repository interface
Method Summary | |
---|---|
Document |
getDocument()
Returns the parsed document |
MultiVersionsProduct |
getProduct(String productName)
Returns all versions for a given project |
Product |
getProduct(String productName,
Version version)
Returns product with given name and version (version can be both numerical or linked). |
String |
getProductFilePath(Product product)
Returns path of jar for given product. |
URL |
getProductFileUrl(Product product)
Returns URL of jar for given product and version. |
MultiVersionsProduct[] |
getProducts()
Returns all products in this store |
URL |
getStoreRootDirURL()
Returns the directory to the production repository |
boolean |
isProduction()
Returns true if the store is production |
Method Detail |
---|
MultiVersionsProduct[] getProducts()
boolean isProduction()
Document getDocument()
URL getStoreRootDirURL()
Product getProduct(String productName, Version version)
productName
- the name of the product to getversion
- the version of the product to get
MultiVersionsProduct getProduct(String productName)
productName
- the productname for which to return all versions
URL getProductFileUrl(Product product)
product
- the product the url is to be got for
String getProductFilePath(Product product)
product
- the product the path is to be got for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |