public interface CommentManager
Modifier and Type | Method and Description |
---|---|
Comment |
addComment(String content,
ResultsSummary resultsSummary,
com.atlassian.user.User user)
Deprecated.
since 5.0 use addComment(content, user, resultsSummary.getId)
|
Comment |
addComment(String content,
com.atlassian.user.User user,
long entityId) |
void |
deleteAllCommentsForEntity(BambooIdProvider entity) |
void |
deleteComment(Comment comment) |
void |
deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated.
since 5.0 use deleteComment(comment)
|
Comment |
getCommentById(long commentId) |
List<Comment> |
getCommentsForBuildResults(PlanKey planKey)
Get all comments associated with Plan's build results
|
List<Comment> |
getCommentsForEntity(long entityId)
Get list of comments for a given entity
|
Map<Long,List<Comment>> |
getCommentsForJobResults(ChainResultsSummary chainResultSummary)
Get all comments on job results within the given chain result.
|
void |
saveComment(Comment comment)
Saves or updates a comment to the database
|
@Deprecated Comment addComment(String content, ResultsSummary resultsSummary, com.atlassian.user.User user)
@Deprecated void deleteComment(Comment comment, ResultsSummary resultsSummary)
void deleteComment(Comment comment)
void deleteAllCommentsForEntity(@NotNull BambooIdProvider entity)
@NotNull List<Comment> getCommentsForEntity(long entityId)
entityId
- id of entity@Nullable Comment getCommentById(long commentId)
void saveComment(Comment comment)
comment
- to save@NotNull List<Comment> getCommentsForBuildResults(@NotNull PlanKey planKey)
planKey
- Plan's key@NotNull Map<Long,List<Comment>> getCommentsForJobResults(@NotNull ChainResultsSummary chainResultSummary)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.