Class LocalRepositoryImpl

java.lang.Object
net.thevpc.common.prs.plugin.AbstractLocalRepository
net.thevpc.common.prs.plugin.LocalRepositoryImpl
All Implemented Interfaces:
LocalRepository

public class LocalRepositoryImpl extends AbstractLocalRepository
Author:
Taha Ben Salah (taha.bensalah@gmail.com) %creationtime 8 sept. 2007 18:58:27
  • Constructor Details

    • LocalRepositoryImpl

      public LocalRepositoryImpl(BlendedFile folderPlugins, File varFolder)
  • Method Details

    • load

      public void load()
    • store

      public void store() throws PluginException
      Throws:
      PluginException
    • getPluginsForInstall

      public String[] getPluginsForInstall()
    • addInstallable

      public URL addInstallable(InputStream inputStream, String name) throws IOException
      Throws:
      IOException
    • getPluginsForUninstall

      public String[] getPluginsForUninstall()
    • installAndUninstallAll

      public void installAndUninstallAll()
      Check plugins for modification.

      Plugins under [InstalledPluginsRepositoryURL]/.install will be installed (or updated) Plugins under [InstalledPluginsRepositoryURL]/.uninstall will be uninstalled (permanently)

      Throws:
      PluginException - if getInstalledPluginsRepositoryURL() is not a local folder URL.
    • markPluginForUninstall

      public void markPluginForUninstall(String pluginId) throws PluginException
      Throws:
      PluginException
    • getInstallFolder

      public File getInstallFolder()
    • getUninstallFolder

      public File getUninstallFolder()
    • getPluginURLs

      public URL[] getPluginURLs()
    • getRepositoryURL

      public URL getRepositoryURL()