예제 #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;
 }
예제 #2
0
 public PatternSet include(Closure closure) {
   include(Specs.<FileTreeElement>convertClosureToSpec(closure));
   return this;
 }
예제 #3
0
 @Override
 @SuppressWarnings("rawtypes")
 public PatternFilterable include(Closure arg0) {
   return patternSet.include(arg0);
 }
예제 #4
0
 @Override
 public PatternFilterable include(Spec<FileTreeElement> arg0) {
   return patternSet.include(arg0);
 }
예제 #5
0
 @Override
 public PatternFilterable include(Iterable<String> arg0) {
   return patternSet.include(arg0);
 }
예제 #6
0
 public CopySpec include(Closure includeSpec) {
   patternSet.include(includeSpec);
   return this;
 }
예제 #7
0
 public CopySpec include(Spec<FileTreeElement> includeSpec) {
   patternSet.include(includeSpec);
   return this;
 }
예제 #8
0
 public CopySpec include(Iterable<String> includes) {
   patternSet.include(includes);
   return this;
 }
예제 #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;
 }