M - the module typeD - the module descriptor typepublic class WeightedPluginModuleTracker<M,D extends com.atlassian.plugin.ModuleDescriptor<M> & com.atlassian.plugin.web.descriptors.WeightedDescriptor> extends Object implements com.atlassian.plugin.tracker.PluginModuleTracker<M,D>
WeightedDescriptor| Constructor and Description | 
|---|
| WeightedPluginModuleTracker(com.atlassian.plugin.PluginAccessor pluginAccessor,
                           com.atlassian.plugin.event.PluginEventManager pluginEventManager,
                           Class<D> moduleDescriptorClass) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| static <M,D extends com.atlassian.plugin.ModuleDescriptor<M> & com.atlassian.plugin.web.descriptors.WeightedDescriptor> | create(com.atlassian.plugin.PluginAccessor pluginAccessor,
      com.atlassian.plugin.event.PluginEventManager pluginEventManager,
      Class<D> moduleDescriptorClass) | 
| Iterable<D> | getModuleDescriptors() | 
| Iterable<M> | getModules() | 
| void | onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) | 
| void | onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event) | 
| void | onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event) | 
| int | size() | 
public static <M,D extends com.atlassian.plugin.ModuleDescriptor<M> & com.atlassian.plugin.web.descriptors.WeightedDescriptor> WeightedPluginModuleTracker<M,D> create(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager, Class<D> moduleDescriptorClass)
public int size()
public void close()
public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
Copyright © 2003–2017 Atlassian. All rights reserved.