AntBuilderAware, Buildable, DirectoryTree, FileCollection, FileTree, Iterable<File>, PatternFilterablepublic interface ConfigurableFileTree extends FileTree, DirectoryTree, PatternFilterable, Buildable
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).
FileCollection.AntType| Modifier and Type | Method | Description |
|---|---|---|
ConfigurableFileTree |
builtBy(Object... tasks) |
Registers some tasks which build the files of this collection.
|
ConfigurableFileTree |
from(Object dir) |
Specifies base directory for this file tree using the given path.
|
Set<Object> |
getBuiltBy() |
Returns the set of tasks which build the files of this collection.
|
File |
getDir() |
Returns the base directory of this file tree.
|
ConfigurableFileTree |
setBuiltBy(Iterable<?> tasks) |
Sets the tasks which build the files of this collection.
|
ConfigurableFileTree |
setDir(Object dir) |
Specifies base directory for this file tree using the given path.
|
getBuildDependenciesgetPatternsaddToAntBuilder, addToAntBuilder, contains, filter, filter, getAsPath, getSingleFile, isEmpty, minus, plusgetAsFileTree, getFiles, matching, matching, matching, plus, visit, visit, visitforEach, iterator, spliteratorexclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludesConfigurableFileTree from(Object dir)
Project.file(Object).dir - The base directory.File getDir()
getDir in interface DirectoryTreeConfigurableFileTree setDir(Object dir)
Project.file(Object).dir - The base directory.Set<Object> getBuiltBy()
ConfigurableFileTree setBuiltBy(Iterable<?> tasks)
tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).ConfigurableFileTree builtBy(Object... tasks)
tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).