ConfigurableFileTree

A FileTree with a single base directory, which can be configured and modified.

You can obtain a ConfigurableFileTree instance by calling fileTree.

Functions

Link copied to clipboard
abstract fun addToAntBuilder(builder: Any, nodeName: String): Any
abstract fun addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType)
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>): ConfigurableFileTree
Registers some tasks which build the files of this collection.
Link copied to clipboard
abstract fun contains(file: File): Boolean
Link copied to clipboard
abstract fun exclude(excludes: Array<String>): PatternFilterable
Link copied to clipboard
abstract fun filter(filterClosure: Closure): FileCollection
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
abstract fun from(dir: Any): ConfigurableFileTree
Specifies base directory for this file tree using the given path.
Link copied to clipboard
abstract fun getAsFileTree(): FileTree
Link copied to clipboard
abstract fun getAsPath(): String
Link copied to clipboard
Link copied to clipboard
abstract fun getBuiltBy(): Set<Any>
Returns the set of tasks which build the files of this collection.
Link copied to clipboard
abstract fun getDir(): File
Returns the base directory of this file tree.
Link copied to clipboard
Link copied to clipboard
abstract fun getExcludes(): Set<String>
Link copied to clipboard
abstract fun getFiles(): Set<File>
Link copied to clipboard
abstract fun getIncludes(): Set<String>
Link copied to clipboard
abstract fun getPatterns(): PatternSet
Link copied to clipboard
abstract fun getSingleFile(): File
Link copied to clipboard
abstract fun include(includes: Array<String>): PatternFilterable
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun matching(filterConfigClosure: Closure): FileTree
Link copied to clipboard
abstract fun minus(collection: FileCollection): FileCollection
Link copied to clipboard
abstract fun plus(collection: FileCollection): FileCollection
abstract fun plus(fileTree: FileTree): FileTree
Link copied to clipboard
abstract fun setBuiltBy(tasks: Iterable<out Any>): ConfigurableFileTree
Sets the tasks which build the files of this collection.
Link copied to clipboard
abstract fun setDir(dir: Any): ConfigurableFileTree
Specifies base directory for this file tree using the given path.
Link copied to clipboard
abstract fun setExcludes(excludes: Iterable<String>): PatternFilterable
Link copied to clipboard
abstract fun setIncludes(includes: Iterable<String>): PatternFilterable
Link copied to clipboard
Link copied to clipboard
abstract fun visit(visitor: FileVisitor): FileTree