InputFileDetails (Gradle API 9.6.1)
Description: declaration: package: org.gradle.api.tasks.incremental, interface: InputFileDetails

Package org.gradle.api.tasks.incremental

# Interface InputFileDetails

public interface InputFileDetails
A change to an input file.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getFile()`
  The input file, which may no longer exist.
  `boolean`
  `isAdded()`
  Was the file added?
  `boolean`
  `isModified()`
  Was the file modified?
  `boolean`
  `isRemoved()`
  Was the file removed?

- ## 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