Schnittstelle ConfigurableFileTree

Alle Superschnittstellen:
AntBuilderAware, Buildable, DirectoryTree, FileCollection, FileTree, Iterable<File>, PatternFilterable

public interface ConfigurableFileTree extends FileTree, DirectoryTree, PatternFilterable, Buildable

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).

  • Methodendetails

    • from

      Specifies base directory for this file tree using the given path. The path is evaluated as per Project.file(Object).
      Parameter:
      dir - The base directory.
      Gibt zurück:
      this
    • getDir

      File getDir()
      Returns the base directory of this file tree.
      Angegeben von:
      getDir in Schnittstelle DirectoryTree
      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 per Project.file(Object).
      Parameter:
      dir - The base directory.
      Gibt zurück:
      this
    • getBuiltBy

      Set<Object> 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

      ConfigurableFileTree setBuiltBy(Iterable<?> tasks)
      Sets the tasks which build the files of this collection.
      Parameter:
      tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).
      Gibt zurück:
      this
    • builtBy

      ConfigurableFileTree builtBy(Object... tasks)
      Registers some tasks which build the files of this collection.
      Parameter:
      tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).
      Gibt zurück:
      this