Class PluginUpdater

java.lang.Object
is.galia.plugin.PluginUpdater

public final class PluginUpdater extends Object
Thread-safe plugin updater.
  • Method Details

    • updatePlugin

      public void updatePlugin(String pluginName) throws IOException, PluginException
      Updates the plugin with the given name to the latest compatible version. The current plugin is backed up.
      Parameters:
      pluginName - Plugin name.
      Throws:
      IOException - if any network or filesystem operations fail.
      PluginException - and a variety of subtypes for many reasons.
    • updatePlugins

      public void updatePlugins() throws IOException, PluginException
      Updates all plugins to their latest compatible version. The updated plugins are backed up.
      Throws:
      IOException - if any network or filesystem operations fail.
      PluginException - and a variety of subtypes for many reasons.