Class SearchInsightReportRequest.Builder
java.lang.Object
com.atlassian.bitbucket.codeinsights.report.AbstractInsightReportRequest.AbstractBuilder<SearchInsightReportRequest.Builder>
com.atlassian.bitbucket.codeinsights.report.SearchInsightReportRequest.Builder
- Enclosing class:
- SearchInsightReportRequest
public static final class SearchInsightReportRequest.Builder
extends AbstractInsightReportRequest.AbstractBuilder<SearchInsightReportRequest.Builder>
- 
Constructor SummaryConstructorsConstructorDescriptionBuilder(com.atlassian.bitbucket.pull.PullRequest pullRequest) Construct a builder scoped the to search to the given pull request.Construct a builder scoped the to search to the given repository and commit.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()reportKeys(Collection<String> reportKeys) Search for reports with the given report keys.protected SearchInsightReportRequest.Builderself()
- 
Constructor Details- 
Builderpublic Builder(@Nonnull com.atlassian.bitbucket.pull.PullRequest pullRequest) Construct a builder scoped the to search to the given pull request.
- 
Builderpublic Builder(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull 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.
 
- 
- 
Method Details- 
build
- 
reportKeys@Nonnull public SearchInsightReportRequest.Builder reportKeys(@Nonnull Collection<String> reportKeys) Search for reports with the given report keys.- Parameters:
- reportKeys- the keys of the reports to search for
- Returns:
- this builder
- Since:
- 6.9
 
- 
self- Specified by:
- selfin class- AbstractInsightReportRequest.AbstractBuilder<SearchInsightReportRequest.Builder>
 
 
-