com.atlassian.plugin.manager
Class PluginEnabler
java.lang.Object
com.atlassian.plugin.manager.PluginEnabler
public class PluginEnabler
- extends java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginEnabler
public PluginEnabler(PluginAccessor pluginAccessor,
PluginController pluginController,
PluginExceptionInterception pluginExceptionInterception)
isPluginBeingEnabled
public boolean isPluginBeingEnabled(Plugin plugin)
- Parameters:
plugin - The plugin to test
- Returns:
- If the plugin is currently part of a set that is being enabled
getPluginsBeingEnabled
public java.util.Set<Plugin> getPluginsBeingEnabled()
Copyright © 2013 Atlassian. All Rights Reserved.