addExcludePatterns method

Matcher addExcludePatterns(
  1. Iterable<Iterable<String>> patterns
)

Adds multiple exclude patterns to the matcher.

Returns the matcher for method chaining.

Implementation

Matcher addExcludePatterns(Iterable<Iterable<String>> patterns) {
  for (final patternGroup in patterns) {
    for (final pattern in patternGroup) {
      addExclude(pattern);
    }
  }
  return this;
}