Class CentralScriptJsonCatalog
- java.lang.Object
-
- hudson.model.DownloadService.Downloadable
-
- org.jenkinsci.plugins.scriptler.share.gh.CentralScriptJsonCatalog
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class CentralScriptJsonCatalog extends DownloadService.Downloadable
Gets the GitHub catalog from jenkins-ci/org.jenkinsci.plugins.scriptler.CentralScriptJsonCatalog.json. This catalog is updated by a background crawler on the Jenkins infrastructure site.- Author:
- Dominik Bartholdi (imod)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CentralScriptJsonCatalog()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CentralScriptJsonCatalog
getCatalog()
ScriptInfoList
toList()
-
Methods inherited from class hudson.model.DownloadService.Downloadable
all, get, get, getData, getDataFile, getDue, getId, getInterval, getUrl, getUrls, hasDuplicates, idFor, reduce, updateNow
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
toList
public ScriptInfoList toList() throws IOException
- Throws:
IOException
-
getCatalog
public static CentralScriptJsonCatalog getCatalog()
-
-