docs.gradle.org

All Superinterfaces:
AntBuilderAware, Buildable, Iterable<File>
All Known Subinterfaces:
AntlrSourceDirectorySet, ConfigurableFileCollection, ConfigurableFileTree, Configuration, ConsumableConfiguration, DependencyScopeConfiguration, FileTree, GroovySourceDirectorySet, LegacyConfiguration, ResolvableConfiguration, ScalaSourceDirectorySet, SourceDirectorySet, SourceSetOutput

  • Nested Class Summary

    Nested Classes

    static enum 

    Ant types which a FileCollection can be mapped to.

  • Method Summary

    Adds this collection to an Ant task as a nested node.

    void

    Adds this collection to an Ant task as a nested node.

    boolean

    Determines whether this collection contains the given file.

    Restricts the contents of this collection to those files which match the given criteria.

    Restricts the contents of this collection to those files which match the given criteria.

    Converts this collection to a FileTree, if not already.

    getAsPath()

    Returns the contents of this collection as a platform-specific path.

    getFiles()

    Returns the contents of this collection as a Set.

    Returns the content of this collection, asserting it contains exactly one file.

    boolean

    isEmpty()

    Returns true if this collection is empty.

    Returns a FileCollection which contains the difference between this collection and the given collection.

    Returns a FileCollection which contains the union of this collection and the given collection.

  • Method Details

    • getSingleFile

    • getFiles

    • contains

    • getAsPath

    • plus

    • minus

    • filter

    • filter

    • isEmpty

    • getAsFileTree

    • getElements

    • addToAntBuilder

    • addToAntBuilder

Read the original on docs.gradle.org ↗