PluginAccessor.getEnabledModuleDescriptorsByClass(Class)
is cached now.@Deprecated public class ModuleDescriptorCacheFactory extends Object
ModuleDescriptorCache
Constructor and Description |
---|
ModuleDescriptorCacheFactory(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager pluginEventManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.plugin.ModuleDescriptor<?>> |
create(Class<T> moduleDescriptorClass)
Deprecated.
Creates a
ModuleDescriptorCache for the given
{moduleDescriptorClass} which will be update if plugin modules become
disabled or enabled. |
<T extends com.atlassian.plugin.ModuleDescriptor<?>> |
create(Class<T> moduleDescriptorClass,
com.atlassian.plugin.predicate.ModuleDescriptorPredicate moduleDescriptorPredicate)
Deprecated.
|
public ModuleDescriptorCacheFactory(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
public <T extends com.atlassian.plugin.ModuleDescriptor<?>> ModuleDescriptorCache<T> create(Class<T> moduleDescriptorClass)
ModuleDescriptorCache
for the given
{moduleDescriptorClass} which will be update if plugin modules become
disabled or enabled.public <T extends com.atlassian.plugin.ModuleDescriptor<?>> ModuleDescriptorCache<T> create(Class<T> moduleDescriptorClass, com.atlassian.plugin.predicate.ModuleDescriptorPredicate moduleDescriptorPredicate)
Copyright © 2003–2021 Atlassian. All rights reserved.