protected void setExcludes(final List<String> excludes) {
    this.excludes = excludes;
    if (excludes != null) {
      for (final String exc : excludes) {
        if (matchesWildcards(exc)) {
          excludesAny = true;
          break;
        }
      }
    }
  }