public PatternSet getPatternSet() {
PatternSet patterns = new PatternSet();
patterns.setCaseSensitive(isCaseSensitive());
patterns.include(this.getAllIncludes());
patterns.includeSpecs(getAllIncludeSpecs());
patterns.exclude(this.getAllExcludes());
patterns.excludeSpecs(getAllExcludeSpecs());
return patterns;
}