FileChange (Gradle API 7.6.4)

Package org.gradle.work

## Interface FileChange

-     public interface FileChange

  A change to a file.
  Since:
    5.4

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ChangeType` | `getChangeType()` | The type of change to the file.
    `java.io.File` | `getFile()` | The file, which may no longer exist.
    `FileType` | `getFileType()` | The file type of the file.
    `java.lang.String` | `getNormalizedPath()` | The normalized path of the file, as specified by the path normalization strategy.

- - ### Method Detail

    - #### getFile

          java.io.File getFile()

      The file, which may no longer exist.

    - #### getChangeType

          ChangeType getChangeType()

      The type of change to the file.

    - #### getFileType

          FileType getFileType()

      The file type of the file.

      For `ChangeType.ADDED` and `ChangeType.MODIFIED`, the type of the file which was added/modified is reported. For `ChangeType.REMOVED` the type of the file which was removed is reported.

    - #### getNormalizedPath

          java.lang.String getNormalizedPath()

      The normalized path of the file, as specified by the path normalization strategy.

      See `PathSensitivity`, `Classpath` and `CompileClasspath` for the different path normalization strategies.