Interface ConfigurableFileTree

    • Method Detail

      • from

        ConfigurableFileTree from​(java.lang.Object dir)
        Specifies base directory for this file tree using the given path. The path is evaluated as per Project.file(Object).
        Parameters:
        dir - The base directory.
        Returns:
        this
      • getDir

        java.io.File getDir()
        Returns the base directory of this file tree.
        Specified by:
        getDir in interface DirectoryTree
        Returns:
        The base directory. Never returns null.
      • setDir

        ConfigurableFileTree setDir​(java.lang.Object dir)
        Specifies base directory for this file tree using the given path. The path is evaluated as per Project.file(Object).
        Parameters:
        dir - The base directory.
        Returns:
        this
      • getBuiltBy

        java.util.Set<java.lang.Object> getBuiltBy()
        Returns the set of tasks which build the files of this collection.
        Returns:
        The set. Returns an empty set when there are no such tasks.
      • setBuiltBy

        ConfigurableFileTree setBuiltBy​(java.lang.Iterable<?> tasks)
        Sets the tasks which build the files of this collection.
        Parameters:
        tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).
        Returns:
        this
      • builtBy

        ConfigurableFileTree builtBy​(java.lang.Object... tasks)
        Registers some tasks which build the files of this collection.
        Parameters:
        tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).
        Returns:
        this