public class ModuleDescriptorCacheFactory extends Object
ModuleDescriptorCache
Constructor and Description |
---|
ModuleDescriptorCacheFactory(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager pluginEventManager) |
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.plugin.ModuleDescriptor<?>> |
create(Class<T> moduleDescriptorClass)
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) |
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–2016 Atlassian. All rights reserved.