|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurableFileTree
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 Summary |
---|
Nested classes/interfaces inherited from interface org.gradle.api.file.FileCollection |
---|
FileCollection.AntType |
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<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. |
Methods inherited from interface org.gradle.api.file.FileTree |
---|
getAsFileTree, matching, matching, plus, visit, visit |
Methods inherited from interface org.gradle.api.file.FileCollection |
---|
add, addToAntBuilder, addToAntBuilder, asType, contains, filter, filter, getAsPath, getFiles, getSingleFile, isEmpty, minus, plus, stopExecutionIfEmpty |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface org.gradle.api.Buildable |
---|
getBuildDependencies |
Methods inherited from interface org.gradle.api.tasks.util.PatternFilterable |
---|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes |
Method Detail |
---|
ConfigurableFileTree from(Object dir)
Project.file(Object)
.
dir
- The base directory.
File getDir()
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 for Task.dependsOn(Object...)
.
ConfigurableFileTree builtBy(Object... tasks)
tasks
- The tasks. These are evaluated as for Task.dependsOn(Object...)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |