com.atlassian.confluence.setup.velocity
Class PluginContextItemProvider

java.lang.Object
  extended by 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

Constructor Summary
PluginContextItemProvider()
           
 
Method Summary
 Map<String,Object> getContextMap()
           
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 void setPluginController(com.atlassian.plugin.PluginController pluginController)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginContextItemProvider

public PluginContextItemProvider()
Method Detail

getContextMap

public Map<String,Object> getContextMap()
Specified by:
getContextMap in interface VelocityContextItemProvider
Returns:
A map of values to be used within a Velocity Context. Must not be null

setPluginAccessor

public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)

setPluginController

public void setPluginController(com.atlassian.plugin.PluginController pluginController)


Copyright © 2003-2011 Atlassian. All Rights Reserved.