|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mail.TemplateContext
The TemplateContext provides the template with all required objects.
Constructor Summary | |
TemplateContext(IssueEvent issueEvent,
TemplateIssueFactory templateIssueFactory,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
JiraDurationUtils jiraDurationUtils)
|
Method Summary | |
Map |
getAttachmentParams()
Generate the attachment params for the template. |
Map |
getChangeLogParams()
Generate the changelog params for the template. |
Map |
getCommentParams()
Generate the comment params for the template. |
String |
getCommentTimeLogged(I18nHelper i18n)
This is retrieved when the template is being generated so as it is properly formatted for the recipient. |
Map |
getTemplateParams()
Create a map of all template params. |
Map |
getUtilParams()
Provide the template with some utility references |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateContext(IssueEvent issueEvent, TemplateIssueFactory templateIssueFactory, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, JiraDurationUtils jiraDurationUtils)
Method Detail |
public Map getTemplateParams()
public Map getUtilParams()
public Map getAttachmentParams()
public Map getCommentParams()
public String getCommentTimeLogged(I18nHelper i18n)
public Map getChangeLogParams()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |