M
- The module class we wish to trackT
- Module descriptor class having M as the module classpublic class ByModuleClassModuleTracker<M,T extends com.atlassian.plugin.ModuleDescriptor<M>> extends Object implements com.atlassian.plugin.tracker.PluginModuleTracker<M,T>
Constructor and Description |
---|
ByModuleClassModuleTracker(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
Class<M> moduleClass,
Collection<? extends T> initialDescriptors,
com.atlassian.plugin.PluginController pluginController) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Iterable<T> |
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 ByModuleClassModuleTracker(com.atlassian.plugin.event.PluginEventManager pluginEventManager, Class<M> moduleClass, Collection<? extends T> initialDescriptors, com.atlassian.plugin.PluginController pluginController)
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)
public int size()
Copyright © 2003–2015 Atlassian. All rights reserved.