Class SearchAnnotationRequest

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

public class SearchAnnotationRequest extends Object
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
Since:
5.15
  • Method Details

    • getReportKeys

      @Nonnull public Set<String> getReportKeys()
    • getCommitId

      @Nonnull public String getCommitId()
    • getExternalIds

      @Nonnull public Set<String> getExternalIds()
    • getFilePaths

      @Nonnull public Set<String> getFilePaths()
    • getPullRequest

      @Nonnull public Optional<com.atlassian.bitbucket.pull.PullRequest> getPullRequest()
    • getRepository

      @Nonnull public com.atlassian.bitbucket.repository.Repository getRepository()
    • getSeverities

      @Nonnull public Set<AnnotationSeverity> getSeverities()
    • getTypes

      @Nonnull public Set<AnnotationType> getTypes()
    • getAnnotationLocation

      @Nonnull public AnnotationLocation getAnnotationLocation()