org.jenkinsci.plugins.scriptler.share.gh
Class GHCatalog

java.lang.Object
  extended by org.apache.tools.ant.Target
      extended by org.apache.tools.ant.ExtensionPoint
          extended by org.jenkinsci.plugins.scriptler.share.ScriptInfoCatalog<ScriptInfo>
              extended by org.jenkinsci.plugins.scriptler.share.gh.GHCatalog
All Implemented Interfaces:
org.apache.tools.ant.TaskContainer

@Extension(ordinal=10.0)
public class GHCatalog
extends ScriptInfoCatalog<ScriptInfo>

Provides access to the scriptler scripts shared at https://github.com/jenkinsci/jenkins-scripts

Author:
Dominik Bartholdi (imod)

Field Summary
static CatalogInfo CATALOG_INFO
           
static String DOWNLOAD_URL
           
static String REPO_BASE
           
 
Constructor Summary
GHCatalog()
           
 
Method Summary
 String getDisplayName()
           
 List<ScriptInfo> getEntries()
           
 ScriptInfo getEntryById(String id)
           
 CatalogInfo getInfo()
           
 String getScriptSource(ScriptInfo scriptInfo)
           
 
Methods inherited from class org.jenkinsci.plugins.scriptler.share.ScriptInfoCatalog
all
 
Methods inherited from class org.apache.tools.ant.ExtensionPoint
addDataType, addTask
 
Methods inherited from class org.apache.tools.ant.Target
addDependency, dependsOn, execute, getDependencies, getDescription, getIf, getLocation, getName, getProject, getTasks, getUnless, parseDepends, performTasks, setDepends, setDescription, setIf, setLocation, setName, setProject, setUnless, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

GHCatalog

public GHCatalog()
Method Detail

getEntries

public List<ScriptInfo> getEntries()
Specified by:
getEntries in class ScriptInfoCatalog<ScriptInfo>

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class ScriptInfoCatalog<ScriptInfo>

getEntryById

public ScriptInfo getEntryById(String id)
Specified by:
getEntryById in class ScriptInfoCatalog<ScriptInfo>

getInfo

public CatalogInfo getInfo()
Specified by:
getInfo in class ScriptInfoCatalog<ScriptInfo>

getScriptSource

public String getScriptSource(ScriptInfo scriptInfo)
Specified by:
getScriptSource in class ScriptInfoCatalog<ScriptInfo>


Copyright © 2010-2012. All Rights Reserved.