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