Package org.gradle.api.file
Interface ConfigurableFileTree
- All Superinterfaces:
- AntBuilderAware,- Buildable,- DirectoryTree,- FileCollection,- FileTree,- Iterable<File>,- PatternFilterable
A FileTree with a single base directory, which can be configured and modified.
You can obtain a ConfigurableFileTree instance by calling Project.fileTree(java.util.Map).
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.file.FileCollectionFileCollection.AntType
- 
Method SummaryModifier and TypeMethodDescriptionRegisters some tasks which build the files of this collection.Specifies base directory for this file tree using the given path.Returns the set of tasks which build the files of this collection.getDir()Returns the base directory of this file tree.setBuiltBy(Iterable<?> tasks) Sets the tasks which build the files of this collection.Specifies base directory for this file tree using the given path.Methods inherited from interface org.gradle.api.BuildablegetBuildDependenciesMethods inherited from interface org.gradle.api.file.DirectoryTreegetPatternsMethods inherited from interface org.gradle.api.file.FileCollectionaddToAntBuilder, addToAntBuilder, contains, filter, filter, getAsPath, getElements, getSingleFile, isEmpty, minus, plusMethods inherited from interface org.gradle.api.file.FileTreegetAsFileTree, getFiles, matching, matching, matching, plus, visit, visit, visitMethods inherited from interface java.lang.IterableforEach, iterator, spliteratorMethods inherited from interface org.gradle.api.tasks.util.PatternFilterableexclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes
- 
Method Details- 
fromSpecifies base directory for this file tree using the given path. The path is evaluated as perProject.file(Object).- Parameters:
- dir- The base directory.
- Returns:
- this
 
- 
getDirFile getDir()Returns the base directory of this file tree.- Specified by:
- getDirin interface- DirectoryTree
- Returns:
- The base directory. Never returns null.
 
- 
setDirSpecifies base directory for this file tree using the given path. The path is evaluated as perProject.file(Object).- Parameters:
- dir- The base directory.
- Returns:
- this
 
- 
getBuiltByReturns the set of tasks which build the files of this collection.- Returns:
- The set. Returns an empty set when there are no such tasks.
 
- 
setBuiltBySets the tasks which build the files of this collection.- Parameters:
- tasks- The tasks. These are evaluated as per- Task.dependsOn(Object...).
- Returns:
- this
 
- 
builtByRegisters some tasks which build the files of this collection.- Parameters:
- tasks- The tasks. These are evaluated as per- Task.dependsOn(Object...).
- Returns:
- this
 
 
-