Class GHCatalog
- java.lang.Object
-
- org.jenkinsci.plugins.scriptler.share.gh.GHCatalog
-
- All Implemented Interfaces:
ExtensionPoint
,ScriptInfoCatalog<ScriptInfo>
@Extension(ordinal=10.0) public class GHCatalog extends Object implements ScriptInfoCatalog<ScriptInfo>
Provides access to the scriptler scripts shared at https://github.com/jenkinsci/jenkins-scripts- Author:
- Dominik Bartholdi (imod)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static CatalogInfo
CATALOG_INFO
static String
DOWNLOAD_URL
static String
REPO_BASE
-
Constructor Summary
Constructors Constructor Description GHCatalog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
List<ScriptInfo>
getEntries()
ScriptInfo
getEntryById(String id)
CatalogInfo
getInfo()
String
getScriptSource(ScriptInfo scriptInfo)
-
-
-
Field Detail
-
REPO_BASE
public static final String REPO_BASE
- See Also:
- Constant Field Values
-
DOWNLOAD_URL
public static final String DOWNLOAD_URL
- See Also:
- Constant Field Values
-
CATALOG_INFO
public static final CatalogInfo CATALOG_INFO
-
-
Method Detail
-
getEntries
public List<ScriptInfo> getEntries()
- Specified by:
getEntries
in interfaceScriptInfoCatalog<ScriptInfo>
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceScriptInfoCatalog<ScriptInfo>
-
getEntryById
public ScriptInfo getEntryById(String id)
- Specified by:
getEntryById
in interfaceScriptInfoCatalog<ScriptInfo>
-
getInfo
public CatalogInfo getInfo()
- Specified by:
getInfo
in interfaceScriptInfoCatalog<ScriptInfo>
-
getScriptSource
public String getScriptSource(ScriptInfo scriptInfo)
- Specified by:
getScriptSource
in interfaceScriptInfoCatalog<ScriptInfo>
-
-