com.atlassian.templaterenderer.plugins
Class TemplateContextFactoryImpl

java.lang.Object
  extended by com.atlassian.templaterenderer.plugins.TemplateContextFactoryImpl
All Implemented Interfaces:
TemplateContextFactory

public class TemplateContextFactoryImpl
extends Object
implements TemplateContextFactory

Implementation of the template context factory


Constructor Summary
TemplateContextFactoryImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 Map<String,Object> createContext(String pluginKey, Map<String,Object> contextParams)
          Create a context for a template renderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateContextFactoryImpl

public TemplateContextFactoryImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

createContext

public Map<String,Object> createContext(String pluginKey,
                                        Map<String,Object> contextParams)
Create a context for a template renderer

Specified by:
createContext in interface TemplateContextFactory
Parameters:
contextParams - Any extra context parameters that should be added to the context
pluginKey - The plugin to create the context for
Returns:
A map of the context


Copyright © 2012 Atlassian. All Rights Reserved.