Package com.atlassian.plugin.manager
Class PluginEnabler
java.lang.Object
com.atlassian.plugin.manager.PluginEnabler
Helper class that handles the problem of enabling a set of plugins at once. This functionality is used for both the
initial plugin loading and manual plugin enabling. The system waits 60 seconds for all dependencies to be resolved,
then resets the timer to 5 seconds if only one remains.
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionPluginEnabler(PluginAccessor pluginAccessor, PluginController pluginController, PluginExceptionInterception pluginExceptionInterception) -
Method Summary
-
Constructor Details
-
PluginEnabler
public PluginEnabler(PluginAccessor pluginAccessor, PluginController pluginController, PluginExceptionInterception pluginExceptionInterception)
-
-
Method Details
-
isPluginBeingEnabled
- Parameters:
plugin- The plugin to test- Returns:
- If the plugin is currently part of a set that is being enabled
-
getPluginsBeingEnabled
-