org.jenkinsci.plugins.scriptler.share.scriptlerweb
Class ScritplerWebCatalog

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<CatalogEntry>
              extended by org.jenkinsci.plugins.scriptler.share.scriptlerweb.ScritplerWebCatalog
All Implemented Interfaces:
org.apache.tools.ant.TaskContainer

@Extension(ordinal=5.0)
public class ScritplerWebCatalog
extends ScriptInfoCatalog<CatalogEntry>

Represents a catalog with available scripts to download.


Nested Class Summary
static class ScritplerWebCatalog.CatalogContent
           
 
Field Summary
static CatalogInfo CATALOG_INFO
           
 
Constructor Summary
ScritplerWebCatalog()
           
 
Method Summary
 String getDisplayName()
           
 List<CatalogEntry> getEntries()
           
 CatalogEntry getEntryById(String id)
           
 CatalogInfo getInfo()
           
 String getScriptSource(CatalogEntry 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

CATALOG_INFO

public static final CatalogInfo CATALOG_INFO
Constructor Detail

ScritplerWebCatalog

public ScritplerWebCatalog()
Method Detail

getInfo

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

getDisplayName

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

getEntryById

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

getEntries

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

getScriptSource

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


Copyright © 2010-2012. All Rights Reserved.