org.jvnet.hudson.plugins.scriptler.share
Class Catalog
java.lang.Object
org.jvnet.hudson.plugins.scriptler.share.Catalog
public final class Catalog
- extends java.lang.Object
Represents a catalog with available scripts to download.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entrySet
protected java.util.Set<CatalogEntry> entrySet
Catalog
public Catalog(CatalogInfo info)
setInfo
public void setInfo(CatalogInfo info)
getInfo
public CatalogInfo getInfo()
getEntryByName
public CatalogEntry getEntryByName(java.lang.String name)
removeCatalogEntry
public void removeCatalogEntry(java.lang.String name)
addOrReplace
public void addOrReplace(CatalogEntry script)
getEntries
public final java.util.Set<CatalogEntry> getEntries()
setEntries
public void setEntries(java.util.Set<CatalogEntry> scripts)
save
public void save(java.io.File catalogFile)
throws java.io.IOException
- Throws:
java.io.IOException
load
public static Catalog load(java.io.File catalogFile)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.