Search in sources :

Example 1 with IssueFilterChain

use of org.sonar.api.scan.issue.filter.IssueFilterChain in project sonarqube by SonarSource.

the class IssueFilters method accept.

public boolean accept(String componentKey, ScannerReport.Issue rawIssue) {
    IssueFilterChain filterChain = new DefaultIssueFilterChain(filters);
    FilterableIssue fIssue = new DefaultFilterableIssue(module, projectAnalysisInfo, rawIssue, componentKey);
    if (filterChain.accept(fIssue)) {
        return acceptDeprecated(componentKey, rawIssue);
    }
    return false;
}
Also used : IssueFilterChain(org.sonar.api.scan.issue.filter.IssueFilterChain) FilterableIssue(org.sonar.api.scan.issue.filter.FilterableIssue)

Aggregations

FilterableIssue (org.sonar.api.scan.issue.filter.FilterableIssue)1 IssueFilterChain (org.sonar.api.scan.issue.filter.IssueFilterChain)1