|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.file.ConfigurableFileTreeorg.gradle.api.file.FileCollection
org.gradle.api.file.FileTree
interface ConfigurableFileTree extends FileTree
A FileTree with a single base directory, which can be configured and modified.
You can obtain a ConfigurableFileTree instance by calling org.gradle.api.Project#fileTree(java.util.Map).
Method Summary | |
---|---|
ConfigurableFileTree
|
from(java.lang.Object dir)
Specifies base directory for this file tree using the given path. |
File
|
getDir()
Returns the base directory of this file tree. |
ConfigurableFileTree
|
setDir(java.lang.Object dir)
Specifies base directory for this file tree using the given path. |
Methods inherited from interface FileTree | |
---|---|
matching, matching, plus, visit, visit |
Methods inherited from interface FileCollection | |
---|---|
add, addToAntBuilder, addToAntBuilder, asType, getAsFileTree, getAsPath, getFiles, getSingleFile, plus, stopExecutionIfEmpty |
Methods inherited from interface java.lang.Iterable | |
---|---|
iterator |
Methods inherited from class java.lang.Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Method Detail |
---|
public ConfigurableFileTree from(java.lang.Object dir)
public File getDir()
public ConfigurableFileTree setDir(java.lang.Object dir)
Groovy Documentation