Class CatalogInfo
java.lang.Object
org.jenkinsci.plugins.scriptler.share.CatalogInfo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCatalogInfo(String name, String catLocation, String scriptDetailUrl, String scriptDownloadUrl) Holds the informations used to connect to a catalog location -
Method Summary
Modifier and TypeMethodDescriptiongetReplacedDetailUrl(String scriptName, String id) getReplacedDownloadUrl(String scriptName, String id)
-
Field Details
-
name
-
catalogLocation
-
scriptDownloadUrl
-
scriptDetailUrl
-
-
Constructor Details
-
CatalogInfo
public CatalogInfo(@NonNull String name, @NonNull String catLocation, @NonNull String scriptDetailUrl, @NonNull String scriptDownloadUrl) Holds the informations used to connect to a catalog location- Parameters:
name- symbolic name of the catalog, must 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})
-
-
Method Details
-
getReplacedDownloadUrl
-
getReplacedDetailUrl
-