Esempio n. 1
0
 public PatternSet getPatternSet() {
   PatternSet patterns = new PatternSet();
   patterns.setCaseSensitive(isCaseSensitive());
   patterns.include(getAllIncludes());
   patterns.includeSpecs(getAllIncludeSpecs());
   patterns.exclude(getAllExcludes());
   patterns.excludeSpecs(getAllExcludeSpecs());
   return patterns;
 }
Esempio n. 2
0
 public PatternSet include(Closure closure) {
   include(Specs.<FileTreeElement>convertClosureToSpec(closure));
   return this;
 }
Esempio n. 3
0
 @Override
 @SuppressWarnings("rawtypes")
 public PatternFilterable include(Closure arg0) {
   return patternSet.include(arg0);
 }
Esempio n. 4
0
 @Override
 public PatternFilterable include(Spec<FileTreeElement> arg0) {
   return patternSet.include(arg0);
 }
Esempio n. 5
0
 @Override
 public PatternFilterable include(Iterable<String> arg0) {
   return patternSet.include(arg0);
 }
Esempio n. 6
0
 public CopySpec include(Closure includeSpec) {
   patternSet.include(includeSpec);
   return this;
 }
Esempio n. 7
0
 public CopySpec include(Spec<FileTreeElement> includeSpec) {
   patternSet.include(includeSpec);
   return this;
 }
Esempio n. 8
0
 public CopySpec include(Iterable<String> includes) {
   patternSet.include(includes);
   return this;
 }
Esempio n. 9
0
 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;
 }