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 10.0. Consider a combination of the linked alternatives.
- See Also:
-
SpacePropertyService
PluginSettingsFactory
ActiveObjects
ConfluenceXStreamManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBandanaManager
(BandanaPersister persister) 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, boolean lookup) Deprecated, for removal: This API element is subject to removal in a future version.Get the configuration object, starting with the given contextvoid
removeValue
(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.void
setValue
(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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bandana.BandanaManager
getValue, init
-
Constructor Details
-
DefaultBandanaManager
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BandanaManager
Get the configuration object, starting with the given context- Specified by:
getValue
in interfaceBandanaManager
- Parameters:
context
- The context to start looking inkey
- The key of the BandanaConfigurationObject objectlookup
- Whether or not to look up the context hierarchy if no context is found- 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:BandanaManagerInternal
Set a configuration object with the given context.- Specified by:
setValue
in interfaceBandanaManager
- Specified by:
setValue
in 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:BandanaManager
Gets all the keys for entries under the given context. Will not look upwards to other contexts.- Specified by:
getKeys
in 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:BandanaManagerInternal
Remove the configuration object, using the given context. Will modify other contexts.- Specified by:
removeValue
in interfaceBandanaManager
- Specified by:
removeValue
in interfaceBandanaManagerInternal
- Parameters:
context
- the context to look inkey
- the key of the configuration object
-