@Test void issue54035() { Report report = new Report(); report.add(ISSUE_BUILDER.setFileName("warning.txt").build()); report.add(ISSUE_BUILDER.setFileName("_build.external/mercury/Testing/na/na_test.c").build()); report.add(ISSUE_BUILDER.setFileName("@2/_build.external/pmix/src/mca/gds/gds.h").build()); RegexpFilter filter = new ExcludeFile(".*_build\\.external\\/.*"); IssueFilterBuilder builder = new IssueFilterBuilder(); filter.apply(builder); Report filtered = report.filter(builder.build()); assertThat(filtered).hasSize(1); assertThat(report.get(0)).hasFileName("warning.txt"); }
public abstract void apply(IssueFilterBuilder builder);
RegexpFilter extends AbstractDescribableImpl<RegexpFilter> implements Serializable { public abstract void apply(IssueFilterBuilder builder); }
RegexpFilter extends AbstractDescribableImpl<RegexpFilter> implements Serializable { public abstract void apply(IssueFilterBuilder builder); RegexpFilter(final String pattern); }
RegexpFilter extends AbstractDescribableImpl<RegexpFilter> implements Serializable { public abstract void apply(IssueFilterBuilder builder); RegexpFilter(final String pattern); String getPattern(); abstract void apply(IssueFilterBuilder builder); }
RegexpFilter extends AbstractDescribableImpl<RegexpFilter> implements Serializable { public abstract void apply(IssueFilterBuilder builder); RegexpFilter(final String pattern); String getPattern(); abstract void apply(IssueFilterBuilder builder);  }