| Package | Description |
|---|---|
| org.gradle.api |
Start Here: Gradle's
Project API, which is available from your build files. |
| org.gradle.api.file |
Classes for working with files.
|
| org.gradle.api.internal.file | |
| org.gradle.api.internal.file.collections | |
| org.gradle.api.internal.file.copy | |
| org.gradle.api.internal.project | |
| org.gradle.api.internal.tasks.testing.detection | |
| org.gradle.api.plugins.antlr.internal | |
| org.gradle.api.tasks |
The standard
Task implementations. |
| org.gradle.api.tasks.testing |
The unit testing
Task implementations. |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
Script.tarTree(Object tarPath)
Creates a new
FileTree which contains the contents of the given TAR file. |
FileTree |
Project.tarTree(Object tarPath)
Creates a new
FileTree which contains the contents of the given TAR file. |
FileTree |
Script.zipTree(Object zipPath)
Creates a new
FileTree which contains the contents of the given ZIP file. |
FileTree |
Project.zipTree(Object zipPath)
Creates a new
FileTree which contains the contents of the given ZIP file. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConfigurableFileTree
A
FileTree with a single base directory, which can be configured and modified. |
interface |
SourceDirectorySet
A
SourceDirectorySet represents a set of source files composed from a set of source directories, along
with associated include and exclude patterns. |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
FileTree.getAsFileTree()
Returns this.
|
FileTree |
FileCollection.getAsFileTree()
Converts this collection to a
FileTree. |
FileTree |
FileTree.matching(Closure filterConfigClosure)
Restricts the contents of this tree to those files matching the given filter.
|
FileTree |
FileTree.matching(PatternFilterable patterns)
Restricts the contents of this tree to those files matching the given filter.
|
FileTree |
FileTree.plus(FileTree fileTree)
Returns a
FileTree which contains the union of this tree and the given tree. |
FileTree |
FileTree.visit(Closure visitor)
Visits the files and directories in this file tree.
|
FileTree |
FileTree.visit(FileVisitor visitor)
Visits the files and directories in this file tree.
|
| Modifier and Type | Method and Description |
|---|---|
FileTree |
FileTree.plus(FileTree fileTree)
Returns a
FileTree which contains the union of this tree and the given tree. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileTree |
class |
CompositeFileTree |
class |
DefaultSourceDirectorySet |
class |
UnionFileTree |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
CompositeFileTree.getAsFileTree() |
FileTree |
CompositeFileCollection.getAsFileTree() |
FileTree |
AbstractFileTree.getAsFileTree() |
FileTree |
AbstractFileCollection.getAsFileTree() |
FileTree |
CompositeFileTree.matching(Closure filterConfigClosure) |
FileTree |
AbstractFileTree.matching(Closure filterConfigClosure) |
FileTree |
CompositeFileTree.matching(PatternFilterable patterns) |
FileTree |
AbstractFileTree.matching(PatternFilterable patterns) |
FileTree |
CompositeFileTree.plus(FileTree fileTree) |
FileTree |
AbstractFileTree.plus(FileTree fileTree) |
FileTree |
FileResolver.resolveFilesAsTree(Object... paths) |
FileTree |
AbstractFileResolver.resolveFilesAsTree(Object... paths) |
FileTree |
FileOperations.tarTree(Object tarPath) |
FileTree |
DefaultFileOperations.tarTree(Object tarPath) |
FileTree |
CompositeFileTree.visit(Closure visitor) |
FileTree |
AbstractFileTree.visit(Closure closure) |
FileTree |
CompositeFileTree.visit(FileVisitor visitor) |
FileTree |
FileOperations.zipTree(Object zipPath) |
FileTree |
DefaultFileOperations.zipTree(Object zipPath) |
| Modifier and Type | Method and Description |
|---|---|
protected List<FileTree> |
CompositeFileTree.getSourceCollections() |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
CompositeFileTree.plus(FileTree fileTree) |
FileTree |
AbstractFileTree.plus(FileTree fileTree) |
| Constructor and Description |
|---|
UnionFileTree(FileTree... sourceTrees) |
UnionFileTree(String displayName,
FileTree... sourceTrees) |
| Constructor and Description |
|---|
UnionFileTree(String displayName,
Collection<? extends FileTree> sourceTrees) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConfigurableFileTree |
class |
FileTreeAdapter
Adapts a
MinimalFileTree into a full FileTree implementation. |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
FileTreeAdapter.matching(PatternFilterable patterns) |
FileTree |
FileTreeAdapter.visit(FileVisitor visitor) |
| Modifier and Type | Method and Description |
|---|---|
List<FileTree> |
ResolvableFileCollectionResolveContext.resolveAsFileTrees()
Resolves the contents of this context as a sequence of atomic file trees.
|
List<FileTree> |
DefaultFileCollectionResolveContext.resolveAsFileTrees()
Resolves the contents of this context as a list of atomic
FileTree instances. |
| Constructor and Description |
|---|
DefaultFileCollectionResolveContext(FileResolver fileResolver,
DefaultFileCollectionResolveContext.Converter<? extends FileCollection> fileCollectionConverter,
DefaultFileCollectionResolveContext.Converter<? extends FileTree> fileTreeConverter) |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
CopyActionImpl.getAllSource() |
FileTree |
ReadableCopySpec.getSource() |
FileTree |
CopySpecImpl.getSource() |
| Modifier and Type | Method and Description |
|---|---|
FileTree |
AbstractProject.tarTree(Object tarPath) |
FileTree |
AbstractProject.zipTree(Object zipPath) |
| Constructor and Description |
|---|
DefaultTestClassScanner(FileTree candidateClassFiles,
TestFrameworkDetector testFrameworkDetector,
TestClassProcessor testClassProcessor) |
| Modifier and Type | Method and Description |
|---|---|
XRef |
MetadataExtracter.extractMetadata(FileTree source) |
| Modifier and Type | Method and Description |
|---|---|
protected FileTree |
SourceTask.getDefaultSource()
Deprecated.
Use getSource() instead.
|
FileTree |
SourceTask.getSource()
Returns the source for this task, after the include and exclude patterns have been applied.
|
| Modifier and Type | Method and Description |
|---|---|
FileTree |
Test.getCandidateClassFiles()
Returns the classes files to scan for test classes.
|
Copyright © 2013. All rights reserved