public class

SearchAnnotationRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.codeinsights.annotation.SearchAnnotationRequest

Class Overview

A request to provide annotation search parameters.

  • If no value is provided for a given parameter it will be ignored
  • If multiple values are provided for a given parameter an annotation must match any of those values to be included in the result set
  • If multiple parameters are provided an annotation must match at least one value in each parameter to be included in the result set
  • It is not possible to search by more than 1000 reports
  • It is not possible to search by more than 1000 paths

Summary

Nested Classes
class SearchAnnotationRequest.Builder  
Public Methods
@Nonnull String getCommitId()
@Nonnull Set<String> getExternalIds()
@Nonnull Set<String> getFilePaths()
@Nonnull Optional<PullRequest> getPullRequest()
@Nonnull Set<String> getReportKeys()
@Nonnull Repository getRepository()
@Nonnull Set<AnnotationSeverity> getSeverities()
@Nonnull Set<AnnotationType> getTypes()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public String getCommitId ()

@Nonnull public Set<String> getExternalIds ()

@Nonnull public Set<String> getFilePaths ()

@Nonnull public Optional<PullRequest> getPullRequest ()

@Nonnull public Set<String> getReportKeys ()

@Nonnull public Repository getRepository ()

@Nonnull public Set<AnnotationSeverity> getSeverities ()

@Nonnull public Set<AnnotationType> getTypes ()