FileChangeListener (Apache Tomcat 10.1.57 API Documentation)
Description: declaration: package: org.apache.catalina.ha.deploy, interface: FileChangeListener

# Interface FileChangeListener

All Known Implementing Classes:
  `FarmWarDeployer`

public interface FileChangeListener
Interface for listening to file changes in a deployment directory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `fileModified(File f)`
  Modification from watchDir war detected.
  `void`
  `fileRemoved(File f)`
  War remove from watchDir.

- ## Method Details

  - ### fileModified

    void fileModified(File f)
    Modification from watchDir war detected.
    Parameters:
      `f` - the modified file

  - ### fileRemoved

    void fileRemoved(File f)
    War remove from watchDir.
    Parameters:
      `f` - the file removed