org.jvnet.hudson.plugins.scriptler.share
Class CatalogInfo
java.lang.Object
org.jvnet.hudson.plugins.scriptler.share.CatalogInfo
public class CatalogInfo
- extends java.lang.Object
|
Constructor Summary |
CatalogInfo(java.lang.String name,
java.lang.String catLocation,
java.lang.String scriptDetailUrl,
java.lang.String scriptDownloadUrl)
Holds the informations used to connect to a catalog location |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final java.lang.String name
catalogLocation
public final java.lang.String catalogLocation
scriptDownloadUrl
public final java.lang.String scriptDownloadUrl
scriptDetailUrl
public final java.lang.String scriptDetailUrl
CatalogInfo
public CatalogInfo(java.lang.String name,
java.lang.String catLocation,
java.lang.String scriptDetailUrl,
java.lang.String scriptDownloadUrl)
- Holds the informations used to connect to a catalog location
- Parameters:
name - symbolic name of the catalog, should be unique.catLocation - where to download the catalog file from (including file name,
e.g.
http://myserver.com/scriptler/my-scriptler-catalog.xml
)scriptDownloadUrl - the url to download a script by its name. Use {0}
to mark the position for the file name in the url (e.g.
http://myserver.com/scriptler/{0})
getReplacedDownloadUrl
public java.lang.String getReplacedDownloadUrl(java.lang.String scriptName,
java.lang.String id)
getReplacedDetailUrl
public java.lang.String getReplacedDetailUrl(java.lang.String scriptName,
java.lang.String id)
Copyright © 2010. All Rights Reserved.