public 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
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
getAsFileTree, matching, matching, plus, visit, visit
add, addToAntBuilder, addToAntBuilder, asType, contains, filter, filter, getAsPath, getFiles, getSingleFile, isEmpty, minus, plus, stopExecutionIfEmpty
forEach, iterator, spliterator
getBuildDependencies
getPatterns
exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes
ConfigurableFileTree from(Object dir)
Project.file(Object)
.dir
- The base directory.File getDir()
getDir
インタフェース内 DirectoryTree
ConfigurableFileTree 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...)
.