org.jvnet.hudson.plugins.scriptler.config
Class ScriptlerConfiguration

java.lang.Object
  extended by org.jvnet.hudson.plugins.scriptler.config.ScriptSet
      extended by org.jvnet.hudson.plugins.scriptler.config.ScriptlerConfiguration
All Implemented Interfaces:
hudson.model.Saveable

public final class ScriptlerConfiguration
extends ScriptSet
implements hudson.model.Saveable


Field Summary
 
Fields inherited from class org.jvnet.hudson.plugins.scriptler.config.ScriptSet
scriptSet
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ScriptlerConfiguration(java.util.SortedSet<Script> scripts)
           
 
Method Summary
 CatalogInfo getCatalogInfo(java.lang.String name)
          Gets the catalog info by its name.
 java.util.List<CatalogInfo> getCatalogInfos()
           
static hudson.XmlFile getXmlFile()
           
static ScriptlerConfiguration load()
           
 void save()
           
 void setCatalogInfos(java.util.List<CatalogInfo> catalogInfos)
           
 
Methods inherited from class org.jvnet.hudson.plugins.scriptler.config.ScriptSet
addOrReplace, getScriptByName, getScripts, removeScript, setScripts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptlerConfiguration

public ScriptlerConfiguration(java.util.SortedSet<Script> scripts)
Method Detail

getCatalogInfos

public java.util.List<CatalogInfo> getCatalogInfos()

setCatalogInfos

public void setCatalogInfos(java.util.List<CatalogInfo> catalogInfos)

getCatalogInfo

public CatalogInfo getCatalogInfo(java.lang.String name)
Gets the catalog info by its name.

Parameters:
name - the name of the catalog to search for
Returns:
null if no info with the given name can be found.

save

public void save()
          throws java.io.IOException
Specified by:
save in interface hudson.model.Saveable
Throws:
java.io.IOException

getXmlFile

public static hudson.XmlFile getXmlFile()

load

public static ScriptlerConfiguration load()
                                   throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.