public PatternSet getPatternSet() { PatternSet patterns = new PatternSet(); patterns.setCaseSensitive(isCaseSensitive()); patterns.include(getAllIncludes()); patterns.includeSpecs(getAllIncludeSpecs()); patterns.exclude(getAllExcludes()); patterns.excludeSpecs(getAllExcludeSpecs()); return patterns; }
public PatternSet include(Closure closure) { include(Specs.<FileTreeElement>convertClosureToSpec(closure)); return this; }
@Override @SuppressWarnings("rawtypes") public PatternFilterable include(Closure arg0) { return patternSet.include(arg0); }
@Override public PatternFilterable include(Spec<FileTreeElement> arg0) { return patternSet.include(arg0); }
@Override public PatternFilterable include(Iterable<String> arg0) { return patternSet.include(arg0); }
public CopySpec include(Closure includeSpec) { patternSet.include(includeSpec); return this; }
public CopySpec include(Spec<FileTreeElement> includeSpec) { patternSet.include(includeSpec); return this; }
public CopySpec include(Iterable<String> includes) { patternSet.include(includes); return this; }
public CopySpec include(String... includes) { patternSet.include(includes); return this; }
public DefaultConfigurableFileTree include(Spec<FileTreeElement> includeSpec) { patternSet.include(includeSpec); return this; }
public DefaultConfigurableFileTree include(Closure includeSpec) { patternSet.include(includeSpec); return this; }
public DefaultConfigurableFileTree include(Iterable<String> includes) { patternSet.include(includes); return this; }