org.jvnet.hudson.plugins.thinbackup.backup
Class PluginList
java.lang.Object
org.jvnet.hudson.plugins.thinbackup.backup.PluginList
- All Implemented Interfaces:
- Comparable<PluginList>
public class PluginList
- extends Object
- implements Comparable<PluginList>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginList
public PluginList(File pluginsXml)
getPlugins
public Map<String,String> getPlugins()
add
public void add(String name,
String version)
setPlugins
public void setPlugins(Map<String,String> plugins)
save
public void save()
throws IOException
- Throws:
IOException
load
public void load()
throws IOException
- Throws:
IOException
compareTo
public int compareTo(PluginList other)
- Specified by:
compareTo in interface Comparable<PluginList>
- Parameters:
other -
- Returns:
- -1 if other is different than this.
Copyright © 2004-2013. All Rights Reserved.