Package org.gradle.api.file
Schnittstelle ConfigurableFileTree
- Alle Superschnittstellen:
AntBuilderAware,Buildable,DirectoryTree,FileCollection,FileTree,Iterable<File>,PatternFilterable
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).
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.file.FileCollection
FileCollection.AntType -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungRegisters some tasks which build the files of this collection.Specifies base directory for this file tree using the given path.Returns the set of tasks which build the files of this collection.getDir()Returns the base directory of this file tree.setBuiltBy(Iterable<?> tasks) Sets the tasks which build the files of this collection.Specifies base directory for this file tree using the given path.Von Schnittstelle geerbte Methoden org.gradle.api.Buildable
getBuildDependenciesVon Schnittstelle geerbte Methoden org.gradle.api.file.DirectoryTree
getPatternsVon Schnittstelle geerbte Methoden org.gradle.api.file.FileCollection
addToAntBuilder, addToAntBuilder, contains, filter, filter, getAsPath, getElements, getSingleFile, isEmpty, minus, plusVon Schnittstelle geerbte Methoden org.gradle.api.file.FileTree
getAsFileTree, getFiles, matching, matching, matching, plus, visit, visit, visitVon Schnittstelle geerbte Methoden java.lang.Iterable
forEach, iterator, spliteratorVon Schnittstelle geerbte Methoden org.gradle.api.tasks.util.PatternFilterable
exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes
-
Methodendetails
-
from
Specifies base directory for this file tree using the given path. The path is evaluated as perProject.file(Object).- Parameter:
dir- The base directory.- Gibt zurück:
- this
-
getDir
File getDir()Returns the base directory of this file tree.- Angegeben von:
getDirin SchnittstelleDirectoryTree- Gibt zurück:
- The base directory. Never returns null.
-
setDir
Specifies base directory for this file tree using the given path. The path is evaluated as perProject.file(Object).- Parameter:
dir- The base directory.- Gibt zurück:
- this
-
getBuiltBy
Returns the set of tasks which build the files of this collection.- Gibt zurück:
- The set. Returns an empty set when there are no such tasks.
-
setBuiltBy
Sets the tasks which build the files of this collection.- Parameter:
tasks- The tasks. These are evaluated as perTask.dependsOn(Object...).- Gibt zurück:
- this
-
builtBy
Registers some tasks which build the files of this collection.- Parameter:
tasks- The tasks. These are evaluated as perTask.dependsOn(Object...).- Gibt zurück:
- this
-