Interface PluginStatusProvider
- All Known Implementing Classes:
DefaultPluginStatusProvider
public interface PluginStatusProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisablePlugin(String pluginId) Disables a plugin from being loaded.voidenablePlugin(String pluginId) Enables a plugin that has previously been disabled.booleanisPluginDisabled(String pluginId) Checks if the plugin is disabled or not
-
Method Details
-
isPluginDisabled
Checks if the plugin is disabled or not- Parameters:
pluginId- the unique plugin identifier, specified in its metadata- Returns:
- if the plugin is disabled or not
-
disablePlugin
Disables a plugin from being loaded.- Parameters:
pluginId- the unique plugin identifier, specified in its metadata- Throws:
PluginRuntimeException- if something goes wrong
-
enablePlugin
Enables a plugin that has previously been disabled.- Parameters:
pluginId- the unique plugin identifier, specified in its metadata- Throws:
PluginRuntimeException- if something goes wrong
-