com.atlassian.jira.issue.fields.rest.json
Class DefaultCommentBeanFactory
java.lang.Object
com.atlassian.jira.issue.fields.rest.json.DefaultCommentBeanFactory
- All Implemented Interfaces:
- CommentBeanFactory
public class DefaultCommentBeanFactory
- extends Object
- implements CommentBeanFactory
- Since:
- v5.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCommentBeanFactory
public DefaultCommentBeanFactory(ProjectRoleManager projectRoleManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
RendererManager rendererManager,
JiraBaseUrls jiraBaseUrls,
FieldLayoutManager fieldLayoutManager)
createBean
public CommentJsonBean createBean(Comment comment)
- Description copied from interface:
CommentBeanFactory
- Generate a bean suitable for serialisation by Jackon into JSON.
- Specified by:
createBean
in interface CommentBeanFactory
- Returns:
createRenderedBean
public CommentJsonBean createRenderedBean(Comment comment)
- Description copied from interface:
CommentBeanFactory
- Generate a bean suitable for serialisation by Jackon into JSON.
Render the body of the comment according to the field configuration. Mostly this means convert wiki
markup to HTML.
- Specified by:
createRenderedBean
in interface CommentBeanFactory
Copyright © 2002-2014 Atlassian. All Rights Reserved.