Groovy Documentation

org.gradle.api.file
Interface FileVisitDetails


interface FileVisitDetails

Contains details about the file or directory being visited.


Method Summary
File getFile()

Returns the file being visited.

RelativePath getRelativePath()

Returns the path of the file being visited.

void stopVisiting()

Requests that file visiting terminate after the current file.

 

Method Detail

getFile

public File getFile()
Returns the file being visited.
return:
The file. Never returns null.


getRelativePath

public RelativePath getRelativePath()
Returns the path of the file being visited.
return:
The path. Never returns null.


stopVisiting

public void stopVisiting()
Requests that file visiting terminate after the current file.


 

Groovy Documentation