com.atlassian.jira.mail
Class DefaultTemplateContext

java.lang.Object
  extended by com.atlassian.jira.mail.DefaultTemplateContext
All Implemented Interfaces:
TemplateContext
Direct Known Subclasses:
IssueTemplateContext

public class DefaultTemplateContext
extends Object
implements TemplateContext

Provides the template with all required objects.


Constructor Summary
DefaultTemplateContext(Locale locale, com.atlassian.plugin.webresource.WebResourceUrlProvider resourceUrlProvider, ApplicationProperties applicationProperties, I18nHelper.BeanFactory beanFactory)
           
 
Method Summary
 Map<String,Object> getTemplateParams()
          Create a map of all template params.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTemplateContext

public DefaultTemplateContext(Locale locale,
                              com.atlassian.plugin.webresource.WebResourceUrlProvider resourceUrlProvider,
                              ApplicationProperties applicationProperties,
                              I18nHelper.BeanFactory beanFactory)
Method Detail

getTemplateParams

public Map<String,Object> getTemplateParams()
Description copied from interface: TemplateContext
Create a map of all template params.

Specified by:
getTemplateParams in interface TemplateContext
Returns:
Map all template params


Copyright © 2002-2014 Atlassian. All Rights Reserved.