|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.file.FileTree org.gradle.api.tasks.AntBuilderAware org.gradle.api.tasks.util.PatternFilterable org.gradle.api.file.ConfigurableFileTree org.gradle.api.file.FileCollection org.gradle.api.file.DirectoryTree org.gradle.api.Buildable
public interface ConfigurableFileTree extends Buildable, DirectoryTree, FileTree, PatternFilterable
A FileTree with a single base directory, which can be configured and modified.
You can obtain a ConfigurableFileTree instance by calling Project.fileTree.
Method Summary | |
---|---|
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
|
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. |
Methods inherited from interface FileTree | |
---|---|
getAsFileTree, matching, matching, plus, visit, visit |
Methods inherited from interface PatternFilterable | |
---|---|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes |
Methods inherited from interface DirectoryTree | |
---|---|
getDir, getPatterns |
Methods inherited from interface Buildable | |
---|---|
getBuildDependencies |
Method Detail |
---|
public ConfigurableFileTree builtBy(Object... tasks)
tasks
- The tasks. These are evaluated as per Task.dependsOn.
public ConfigurableFileTree from(Object dir)
dir
- The base directory.
public Set getBuiltBy()
public File getDir()
public ConfigurableFileTree setBuiltBy(Iterable tasks)
tasks
- The tasks. These are evaluated as per Task.dependsOn.
public ConfigurableFileTree setDir(Object dir)
dir
- The base directory.
Gradle API 1.12