Class PluginContextItemProvider
- java.lang.Object
-
- com.atlassian.confluence.setup.velocity.PluginContextItemProvider
-
- All Implemented Interfaces:
VelocityContextItemProvider
public final class PluginContextItemProvider extends Object implements VelocityContextItemProvider
This context map provider will return a map of all currently enabled Velocity context item modules. The mapping is module context key to plugin module.- See Also:
VelocityContextItemModuleDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.setup.velocity.VelocityContextItemProvider
VelocityContextItemProvider.VelocityContextItemKeys
-
-
Constructor Summary
Constructors Constructor Description PluginContextItemProvider(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NonNull Map<String,Object>
getContextMap()
void
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.since 7.7.4void
setPluginController(com.atlassian.plugin.PluginController pluginController)
Deprecated.since 7.7.4
-
-
-
Method Detail
-
getContextMap
public @NonNull Map<String,Object> getContextMap()
- Specified by:
getContextMap
in interfaceVelocityContextItemProvider
- Returns:
- A map of values to be used within a Velocity
Context
. Must not be null
-
setPluginAccessor
@Deprecated public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.since 7.7.4
-
setPluginController
@Deprecated public void setPluginController(com.atlassian.plugin.PluginController pluginController)
Deprecated.since 7.7.4
-
-