public class CommentEntityBuilder extends WikiLinkableContentEntityBuilder<Comment>
settingsManager
Constructor and Description |
---|
CommentEntityBuilder(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
UserEntityHelper userEntityHelper) |
Modifier and Type | Method and Description |
---|---|
ContentEntity |
build(Comment comment)
Builds a REST ContentEntity for the given CEO
|
build, build, createSpaceEntity
public CommentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
public ContentEntity build(Comment comment)
ContentEntityBuilder
build
in interface ContentEntityBuilder<Comment>
build
in class WikiLinkableContentEntityBuilder<Comment>
comment
- the ContentEntityObject
null
if the current user is not permitted to view the content or
if no content object can be found for the given object.Copyright © 2003–2021 Atlassian. All rights reserved.