public class DefaultTemplateContextFactory extends Object implements TemplateContextFactory
Constructor and Description |
---|
DefaultTemplateContextFactory(TemplateIssueFactory templateIssueFactory,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
JiraDurationUtils jiraDurationUtils,
EventTypeManager eventTypeManager,
UserManager userManager,
DiffViewRenderer diffViewRenderer,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
I18nHelper.BeanFactory beanFactory,
ApplicationProperties applicationProperties,
HistoryMetadataManager historyMetadataManager,
HistoryMetadataRenderHelper historyMetadataRenderHelper,
DateTimeFormatterFactory dateTimeFormatterFactory) |
Modifier and Type | Method and Description |
---|---|
TemplateContext |
getTemplateContext(Locale locale) |
TemplateContext |
getTemplateContext(Locale locale,
IssueEvent issueEvent) |
public DefaultTemplateContextFactory(TemplateIssueFactory templateIssueFactory, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, JiraDurationUtils jiraDurationUtils, EventTypeManager eventTypeManager, UserManager userManager, DiffViewRenderer diffViewRenderer, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, I18nHelper.BeanFactory beanFactory, ApplicationProperties applicationProperties, HistoryMetadataManager historyMetadataManager, HistoryMetadataRenderHelper historyMetadataRenderHelper, DateTimeFormatterFactory dateTimeFormatterFactory)
public TemplateContext getTemplateContext(Locale locale)
getTemplateContext
in interface TemplateContextFactory
public TemplateContext getTemplateContext(Locale locale, IssueEvent issueEvent)
getTemplateContext
in interface TemplateContextFactory
Copyright © 2002-2016 Atlassian. All Rights Reserved.