Class PluginRemover
java.lang.Object
is.galia.plugin.PluginRemover
-
Method Summary
Modifier and TypeMethodDescriptionvoidbackupPlugin(String pluginName) voidremovePlugin(String pluginName) Deletes the plugin with the given name from the plugins directory.voidremovePluginBackups(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.IOExceptionPluginException
-
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.
-