Package org.gradle.api.tasks.incremental
Interface InputFileDetails
public interface InputFileDetails
A change to an input file.
-
Method Details
-
isAdded
boolean isAdded()Was the file added?- Returns:
- true if the file was added since the last execution
-
isModified
boolean isModified()Was the file modified?- Returns:
- if the file was modified
-
isRemoved
boolean isRemoved()Was the file removed?- Returns:
- true if the file was removed since the last execution
-
getFile
File getFile()The input file, which may no longer exist.- Returns:
- the input file
-