Package com.atlassian.bandana
Interface BandanaManager
- All Known Implementing Classes:
DefaultBandanaManager
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.
A plugin manager is responsible for retrieving plugins and modules, as well as managing plugin loading and state.
- See Also:
-
SpacePropertyServicePluginSettingsFactoryActiveObjectsConfluenceXStreamManager
-
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.default ObjectgetValue(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.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 contextdefault voidinit()Deprecated, for removal: This API element is subject to removal in a future version.Initialise the bandana manager.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.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.
-
Method Details
-
init
default void init()Deprecated, for removal: This API element is subject to removal in a future version.Initialise the bandana manager. This must be called before anything else. -
setValue
Deprecated, for removal: This API element is subject to removal in a future version.Set a configuration object with the given context.- Parameters:
context- The context to store this value inkey- The key of the objectvalue- The value to be stored
-
getValue
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.- 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.
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.Get the configuration object, starting with the given context- 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.
-
getKeys
Deprecated, for removal: This API element is subject to removal in a future version.Gets all the keys for entries under the given context. Will not look upwards to other contexts.- 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.Remove the configuration object, using the given context. Will modify other contexts.- Parameters:
context- the context to look inkey- the key of the configuration object
-