public static final class

SearchInsightReportRequest.Builder

extends AbstractInsightReportRequest.AbstractBuilder<T extends AbstractBuilder<T>>
java.lang.Object
   ↳ com.atlassian.bitbucket.codeinsights.report.AbstractInsightReportRequest.AbstractBuilder<T extends com.atlassian.bitbucket.codeinsights.report.AbstractInsightReportRequest.AbstractBuilder<T>>
     ↳ com.atlassian.bitbucket.codeinsights.report.SearchInsightReportRequest.Builder

Summary

Public Constructors
Builder(PullRequest pullRequest)
Construct a builder scoped the to search to the given pull request.
Builder(Repository repository, String commit)
Construct a builder scoped the to search to the given repository and commit.
Public Methods
@Nonnull SearchInsightReportRequest build()
Protected Methods
@Nonnull SearchInsightReportRequest.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.codeinsights.report.AbstractInsightReportRequest.AbstractBuilder
From class java.lang.Object

Public Constructors

public Builder (PullRequest pullRequest)

Construct a builder scoped the to search to the given pull request.

public Builder (Repository repository, String commit)

Construct a builder scoped the to search to the given repository and commit. It is not possible to fetch reports across multiple repositories or multiple commits.

Public Methods

@Nonnull public SearchInsightReportRequest build ()

Protected Methods

@Nonnull protected SearchInsightReportRequest.Builder self ()