public class PullRequestActivitySearchRequest extends AbstractPullRequestRequest
PullRequestSearchRequest
Modifier and Type | Class and Description |
---|---|
static class |
PullRequestActivitySearchRequest.Builder |
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>>
Modifier and Type | Method and Description |
---|---|
Set<CommentAction> |
getCommentActions()
Limits the comment activities to the ones performing the specified comment actions.
|
Set<Long> |
getCommentIds()
Limits the comment activities to the ones affecting the specified comments.
|
PullRequestActivityPropertyMode |
getPropertyMode() |
Set<PullRequestActivityType> |
getTypes()
Specifies the type(s) of activities to search for.
|
boolean |
isWithProperties()
Deprecated.
since 7.14 for removal in 8.0. Use
getPropertyMode() and
PullRequestActivityPropertyMode.includesPullRequests() instead. |
getPullRequestId, getRepositoryId
@Nonnull public Set<CommentAction> getCommentActions()
Note: this is only valid if the searched types
include comment
activities.
@Nonnull public Set<Long> getCommentIds()
Note: this is only valid if the searched types
include comment
activities.
@Nonnull public PullRequestActivityPropertyMode getPropertyMode()
PullRequestActivityPropertyMode.ACTIVITY_ONLY
.@Nonnull public Set<PullRequestActivityType> getTypes()
PullRequestActivityType
@Deprecated public boolean isWithProperties()
getPropertyMode()
and
PullRequestActivityPropertyMode.includesPullRequests()
instead.true
to fetch the pull requests' propertiesCopyright © 2021 Atlassian. All rights reserved.
View cookie preferences