Class LocalRepositoryImpl
java.lang.Object
net.thevpc.common.prs.plugin.AbstractLocalRepository
net.thevpc.common.prs.plugin.LocalRepositoryImpl
- All Implemented Interfaces:
LocalRepository
- Author:
- Taha Ben Salah (taha.bensalah@gmail.com) %creationtime 8 sept. 2007 18:58:27
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInstallable(InputStream inputStream, String name) String[]String[]URL[]voidCheck plugins for modification.voidload()voidmarkPluginForUninstall(String pluginId) voidstore()Methods inherited from class AbstractLocalRepository
getPlugin, getPlugins, register, reset, unregister
-
Constructor Details
-
LocalRepositoryImpl
-
-
Method Details
-
load
public void load() -
store
- Throws:
PluginException
-
getPluginsForInstall
-
addInstallable
- Throws:
IOException
-
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
- Throws:
PluginException
-
getInstallFolder
-
getUninstallFolder
-
getPluginURLs
-
getRepositoryURL
-