|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hudson.plugins.scriptler.share.CatalogManager
public class CatalogManager
Manages the access to a catalogs information, and is able to download the scripts from it.
CatalogInfo| Constructor Summary | |
|---|---|
CatalogManager(CatalogInfo info)
|
|
| Method Summary | |
|---|---|
java.lang.String |
downloadScript(java.lang.String scriptName)
Get the requested script from the catalog location. |
Catalog |
loadCatalog()
Returns the newest catalog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CatalogManager(CatalogInfo info)
| Method Detail |
|---|
public java.lang.String downloadScript(java.lang.String scriptName)
scriptName - the name of the script. Will be used in the url.
CatalogInfo.catalogLocationpublic Catalog loadCatalog()
null, even if download failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||