Class PluginRemover
java.lang.Object
is.galia.plugin.PluginRemover
-
Method Summary
Modifier and TypeMethodDescriptionvoid
backupPlugin
(String pluginName) void
removePlugin
(String pluginName) Deletes the plugin with the given name from the plugins directory.void
removePluginBackups
(String pluginName) Deletes all backups of the plugin with the given name from the plugins directory.
-
Method Details
-
backupPlugin
- Parameters:
pluginName
- Plugin name.- Throws:
NoSuchFileException
- if either the plugin or plugins directory does not exist.PluginNotInstalledException
- if the given plugin is not installed.IOException
PluginException
-
removePlugin
Deletes the plugin with the given name from the plugins directory.
- Parameters:
pluginName
- Plugin name.- Throws:
NoSuchFileException
- if either the plugin or plugins directory does not exist.PluginNotInstalledException
- if the given plugin is not installed.IOException
- if any filesystem operations fail.PluginException
-
removePluginBackups
Deletes all backups of the plugin with the given name from the plugins directory.
- Parameters:
pluginName
- Plugin name.- Throws:
NoSuchFileException
- if either the plugin or plugins directory does not exist.IOException
- if any filesystem operations fail.
-