Package: org.grails.io.watch

## [Groovy] Class FileExtensionFileChangeListener

- org.grails.io.watch.FileExtensionFileChangeListener

- All Implemented Interfaces and Traits:
    FileChangeListener

      @groovy.transform.CompileStatic
      abstract class FileExtensionFileChangeListener
      extends java.lang.Object
      implements FileChangeListener

  A org.grails.io.watch.DirectoryWatcher.FileChangeListener that only fires for specific extension or list of extensions

  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private java.util.List<java.lang.String>` | `extensions` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.util.List<java.lang.String>` | `extensions`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `FileExtensionFileChangeListener (java.util.List<java.lang.String> extensions)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `final void` | `onChange(java.io.File file)`
    `` | `abstract void` | `onChange(java.io.File file, java.util.List<java.lang.String> extensions)`
    `` | `final void` | `onNew(java.io.File file)`
    `` | `abstract void` | `onNew(java.io.File file, java.util.List<java.lang.String> extensions)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Field Detail

    - #### private final java.util.List<java.lang.String> extensions

  - ### Property Detail

    - #### final java.util.List<java.lang.String> extensions

  - ### Constructor Detail

    - #### FileExtensionFileChangeListener(java.util.List<java.lang.String> extensions)

  - ### Method Detail

    - #### @java.lang.Override final void onChange(java.io.File file)

    - #### abstract void onChange(java.io.File file, java.util.List<java.lang.String> extensions)

    - #### @java.lang.Override final void onNew(java.io.File file)

    - #### abstract void onNew(java.io.File file, java.util.List<java.lang.String> extensions)