Class PluginEnabler

java.lang.Object
com.atlassian.plugin.manager.PluginEnabler

public class PluginEnabler extends 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
  • Constructor Details

  • Method Details

    • 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 Set<Plugin> getPluginsBeingEnabled()