net.sf.taverna.update.plugin
Class TavernaPluginSite
java.lang.Object
net.sf.taverna.update.plugin.PluginSite
net.sf.taverna.update.plugin.TavernaPluginSite
public class TavernaPluginSite
- extends PluginSite
Extension to PluginSite specifally for the main Taverna plugin site.
This will not get entered into the plugins/plugin-sites.xml, and also supports a
list of alternative url's for fail-over should the mygrid site fail.
- Author:
- Stuart Owen
|
Method Summary |
java.net.URL |
getUrl()
checks each url until it returns a working one, or the null if they all fail. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TavernaPluginSite
public TavernaPluginSite(java.lang.String name,
java.net.URL[] urls)
getUrl
public java.net.URL getUrl()
- checks each url until it returns a working one, or the null if they all fail.
If a working url is found then this url is stored an returned for subsequent calls.
- Overrides:
getUrl in class PluginSite
- Returns:
- the url