org.jvnet.hudson.plugins.thinbackup.backup
Class PluginList

java.lang.Object
  extended by org.jvnet.hudson.plugins.thinbackup.backup.PluginList
All Implemented Interfaces:
Comparable<PluginList>

public class PluginList
extends Object
implements Comparable<PluginList>


Constructor Summary
PluginList(File pluginsXml)
           
 
Method Summary
 void add(String name, String version)
           
 int compareTo(PluginList other)
           
 Map<String,String> getPlugins()
           
 void load()
           
 void save()
           
 void setPlugins(Map<String,String> plugins)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginList

public PluginList(File pluginsXml)
Method Detail

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.