org.jvnet.hudson.plugins.scriptler.config
Class ScriptlerConfiguration
java.lang.Object
org.jvnet.hudson.plugins.scriptler.config.ScriptSet
org.jvnet.hudson.plugins.scriptler.config.ScriptlerConfiguration
- All Implemented Interfaces:
- hudson.model.Saveable
public final class ScriptlerConfiguration
- extends ScriptSet
- implements hudson.model.Saveable
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptlerConfiguration
public ScriptlerConfiguration(java.util.SortedSet<Script> scripts)
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.