public static class DefaultPluginManager.Builder<T extends DefaultPluginManager.Builder<?>> extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DefaultPluginManager |
build() |
T |
withDelayLoadOf(Predicate<Plugin> delayLoadOf) |
T |
withModuleDescriptorFactory(ModuleDescriptorFactory moduleDescriptorFactory) |
T |
withPluginAccessor(PluginAccessor pluginAccessor) |
T |
withPluginEventManager(PluginEventManager pluginEventManager) |
T |
withPluginExceptionInterception(PluginExceptionInterception pluginExceptionInterception) |
T |
withPluginLoader(PluginLoader pluginLoader) |
T |
withPluginLoaders(List<PluginLoader> pluginLoaders) |
T |
withPluginRegistry(PluginRegistry.ReadWrite pluginRegistry) |
T |
withSafeModeManager(SafeModeManager safeModeManager) |
T |
withScopeManager(ScopeManager ignored)
Deprecated.
in 5.0 for removal in 6.0 when
ScopeManager will be removed. |
T |
withStore(PluginPersistentStateStore store) |
T |
withVerifyRequiredPlugins(boolean verifyRequiredPlugins) |
public T withSafeModeManager(SafeModeManager safeModeManager)
public T withStore(PluginPersistentStateStore store)
public T withPluginLoaders(List<PluginLoader> pluginLoaders)
public T withPluginLoader(PluginLoader pluginLoader)
public T withModuleDescriptorFactory(ModuleDescriptorFactory moduleDescriptorFactory)
public T withPluginEventManager(PluginEventManager pluginEventManager)
public T withPluginExceptionInterception(PluginExceptionInterception pluginExceptionInterception)
public T withVerifyRequiredPlugins(boolean verifyRequiredPlugins)
public T withPluginRegistry(PluginRegistry.ReadWrite pluginRegistry)
public T withPluginAccessor(PluginAccessor pluginAccessor)
@Deprecated public T withScopeManager(ScopeManager ignored)
ScopeManager will be removed.public DefaultPluginManager build()
Copyright © 2019 Atlassian. All rights reserved.