Package com.atlassian.bandana
Class DefaultBandanaManager
java.lang.Object
com.atlassian.bandana.DefaultBandanaManager
- All Implemented Interfaces:
BandanaManager,BandanaManagerInternal
@Deprecated(forRemoval=true)
public class DefaultBandanaManager
extends Object
implements BandanaManagerInternal
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.3, for removal in 11.0. Consider a combination of the linked alternatives.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBandanaManager(BandanaPersister persister) Deprecated, for removal: This API element is subject to removal in a future version.DefaultBandanaManager(BandanaPersister persister, BooleanSupplier isPluginSettingsCreatedRef) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetKeys(BandanaContext context) Deprecated, for removal: This API element is subject to removal in a future version.Gets all the keys for entries under the given context.getValue(BandanaContext context, String key) Deprecated, for removal: This API element is subject to removal in a future version.Get the configuration object, starting with the given context and looking upwards.voidremoveValue(BandanaContext context, String key) Deprecated, for removal: This API element is subject to removal in a future version.Remove the configuration object, using the given context.voidsetPluginSettingsFactory(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory) Deprecated, for removal: This API element is subject to removal in a future version.Using setter injection to break circular-dependency between this class and ConfluencePluginSettingsFactory.voidsetValue(BandanaContext context, String key, Object value) Deprecated, for removal: This API element is subject to removal in a future version.Set a configuration object with the given context.
-
Constructor Details
-
DefaultBandanaManager
public DefaultBandanaManager(BandanaPersister persister, BooleanSupplier isPluginSettingsCreatedRef) Deprecated, for removal: This API element is subject to removal in a future version. -
DefaultBandanaManager
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setPluginSettingsFactory
public void setPluginSettingsFactory(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory) Deprecated, for removal: This API element is subject to removal in a future version.Using setter injection to break circular-dependency between this class and ConfluencePluginSettingsFactory. See inline comment withinsetValue(com.atlassian.bandana.BandanaContext, java.lang.String, java.lang.Object). -
getValue
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BandanaManagerGet the configuration object, starting with the given context and looking upwards.- Specified by:
getValuein interfaceBandanaManager- Parameters:
context- The context to start looking inkey- The key of the BandanaConfigurationObject object- Returns:
- Object object for this key, or null if none exists.
-
setValue
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BandanaManagerInternalSet a configuration object with the given context.- Specified by:
setValuein interfaceBandanaManagerInternal- Parameters:
context- The context to store this value inkey- The key of the objectvalue- The value to be stored
-
getKeys
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BandanaManagerGets all the keys for entries under the given context. Will not look upwards to other contexts.- Specified by:
getKeysin interfaceBandanaManager- Parameters:
context- the context for which to find keys- Returns:
- all keys for supplied context
-
removeValue
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BandanaManagerInternalRemove the configuration object, using the given context. Will modify other contexts.- Specified by:
removeValuein interfaceBandanaManagerInternal- Parameters:
context- the context to look inkey- the key of the configuration object
-