Class PluginInstaller
java.lang.Object
is.galia.plugin.PluginInstaller
-
Method Summary
Modifier and TypeMethodDescriptionvoid
installPlugin
(String pluginName) Installs the plugin with the given name from the artifact repository.void
installPlugin
(String pluginName, String version) Installs a particular version of a plugin from:
-
Method Details
-
installPlugin
Installs the plugin with the given name from the artifact repository. The latest plugin version with valid properties and a compatible specification version is chosen.
- Throws:
PluginException
IOException
- See Also:
-
installPlugin
Installs a particular version of a plugin from:
- The account representation, which contains a list of all purchased plugins
- The public plugin index, which contains a list of all publicly available plugins
The latest plugin version with valid properties and a compatible specification version is chosen.
- Parameters:
pluginName
- Name of the plugin to install.version
- Version of the plugin to install. May benull
.- Throws:
PluginAlreadyInstalledException
- if the plugin is already installed.PluginNotFoundException
- if the plugin was not found remotely.ArtifactDigestException
- if the checksum of the downloaded file does not match the one listed in the repository.PluginException
IOException
-