Package | Description |
---|---|
com.atlassian.bitbucket.comment | |
com.atlassian.bitbucket.commit | |
com.atlassian.bitbucket.event.commit | |
com.atlassian.bitbucket.event.pull | |
com.atlassian.bitbucket.pull |
Modifier and Type | Class and Description |
---|---|
class |
CommentChain<C extends Comment>
Performs a depth-first iteration given a starting set of
comments . |
Modifier and Type | Method and Description |
---|---|
static <C extends Comment> |
CommentChain.of(Iterable<C> rootComments)
A convenience method for creating a new
chain from the provided comments. |
Modifier and Type | Method and Description |
---|---|
Comment |
CommentService.addComment(AddCommentRequest request)
Adds a general comment on a commentable.
|
Comment |
CommentService.addComment(AddFileCommentRequest request)
Adds a comment on a file in a diff.
|
Comment |
CommentService.addComment(AddLineCommentRequest request)
Adds a comment on a line on a file in a diff.
|
Comment |
CommentService.addReply(AddCommentReplyRequest request)
Adds a comment reply to a
tread . |
Comment |
CommentThread.getRootComment() |
Comment |
CommentService.updateComment(CommentUpdateRequest request)
Updates a
comment according to the provided request , with the
following restrictions:
only the author of the comment may update the text of the comment
only the author of the comment, the author of the pull request (in the case of comments on pull requests)
or repository admins and above may update the other fields of a comment
|
Modifier and Type | Method and Description |
---|---|
Optional<Comment> |
CommentService.getComment(long commentId)
Find a comment with the given ID.
|
List<Comment> |
Comment.getComments() |
Page<Comment> |
CommentService.search(CommentSearchRequest request,
PageRequest pageRequest)
Search for all
comments matching the provided request. |
Modifier and Type | Method and Description |
---|---|
Comment |
CommitDiscussionCommentActivity.getComment() |
Modifier and Type | Method and Description |
---|---|
Comment |
CommitDiscussionCommentEvent.getComment() |
Comment |
CommitDiscussionCommentEvent.getParent() |
Modifier and Type | Method and Description |
---|---|
Comment |
PullRequestReviewCommentEvent.getComment() |
Comment |
PullRequestCommentEvent.getComment() |
Comment |
PullRequestCancelableCommentEvent.getComment() |
Comment |
PullRequestReviewCommentEvent.getParent() |
Comment |
PullRequestCommentEvent.getParent() |
Comment |
PullRequestCancelableCommentEvent.getParent() |
Modifier and Type | Method and Description |
---|---|
Comment |
PullRequestCommentActivity.getComment() |
Copyright © 2024 Atlassian. All rights reserved.