public class BigPipeSettingsManager extends Object implements org.springframework.beans.factory.InitializingBean
SettingsManager
, with additional caching of plugins data and some specific
general settings for big pipe.Modifier and Type | Class and Description |
---|---|
static class |
BigPipeSettingsManager.BigPipeSettings |
Modifier and Type | Field and Description |
---|---|
static String |
BIG_PIPE_KEY |
Constructor and Description |
---|
BigPipeSettingsManager(SettingsManager settingsManager,
com.atlassian.event.api.EventPublisher eventPublisher,
org.springframework.transaction.PlatformTransactionManager transactionManager,
List<DefaultMacroSettings> defaultMacroSettings) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
applyAll(Collection<DefaultMacroSettings> macrosSettings) |
BigPipeSettingsManager.BigPipeSettings |
getSettings() |
boolean |
isOptedIn(String pluginKey,
String moduleName,
Macro macro) |
void |
onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event) |
void |
saveSettings(BigPipeSettingsManager.BigPipeSettings settings) |
void |
setOptIn(String pluginKey,
String moduleName,
boolean optedIn) |
public static final String BIG_PIPE_KEY
public BigPipeSettingsManager(SettingsManager settingsManager, com.atlassian.event.api.EventPublisher eventPublisher, org.springframework.transaction.PlatformTransactionManager transactionManager, List<DefaultMacroSettings> defaultMacroSettings)
public void saveSettings(BigPipeSettingsManager.BigPipeSettings settings)
public BigPipeSettingsManager.BigPipeSettings getSettings()
public void applyAll(Collection<DefaultMacroSettings> macrosSettings)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@EventListener public void onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
Copyright © 2003–2016 Atlassian. All rights reserved.