public static class

PullRequestActivitySearchRequest.Builder

extends AbstractPullRequestRequest.AbstractBuilder<T extends AbstractBuilder<T>>
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<T extends com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<T>>
       ↳ com.atlassian.bitbucket.pull.PullRequestActivitySearchRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
Builder(PullRequest pullRequest)
Builder(int repositoryId, long pullRequestId)
Public Methods
@Nonnull PullRequestActivitySearchRequest build()
@Nonnull PullRequestActivitySearchRequest.Builder commentActions(Iterable<CommentAction> values)
@Nonnull PullRequestActivitySearchRequest.Builder commentActions(CommentAction value, CommentAction... values)
@Nonnull PullRequestActivitySearchRequest.Builder commentIds(long value, long... values)
@Nonnull PullRequestActivitySearchRequest.Builder commentIds(Iterable<Long> values)
@Nonnull PullRequestActivitySearchRequest.Builder types(PullRequestActivityType value, PullRequestActivityType... values)
@Nonnull PullRequestActivitySearchRequest.Builder types(Iterable<PullRequestActivityType> values)
@Nonnull PullRequestActivitySearchRequest.Builder withProperties(boolean value)
Protected Methods
@Nonnull PullRequestActivitySearchRequest.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

public Builder (PullRequest pullRequest)

public Builder (int repositoryId, long pullRequestId)

Public Methods

@Nonnull public PullRequestActivitySearchRequest build ()

@Nonnull public PullRequestActivitySearchRequest.Builder commentActions (Iterable<CommentAction> values)

@Nonnull public PullRequestActivitySearchRequest.Builder commentActions (CommentAction value, CommentAction... values)

@Nonnull public PullRequestActivitySearchRequest.Builder commentIds (long value, long... values)

Parameters
value the first comment ID to search for activities for
values additional comment IDs to search for activities for
Returns
  • this

@Nonnull public PullRequestActivitySearchRequest.Builder commentIds (Iterable<Long> values)

@Nonnull public PullRequestActivitySearchRequest.Builder withProperties (boolean value)

Parameters
value true to load properties for the pull requests on each matched activity; otherwise, false to omit them
Returns
  • this

Protected Methods

@Nonnull protected PullRequestActivitySearchRequest.Builder self ()