Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.changedetection.state
Class DirectoryStateFileChangeListener

    java.lang.Object
      org.gradle.api.changedetection.state.DirectoryStateFileChangeListener

All Implemented Interfaces:
  StateFileChangeListener

    class DirectoryStateFileChangeListener

author:
  Tom Eyckmans

Constructor Summary
`DirectoryStateFileChangeListener(StateFileChangeListenerUtil stateFileChangeListenerUtil, File directory)`

Method Summary
`void` | `itemChanged(StateFileItem oldState, StateFileItem newState)` File changed
`void` | `itemCreated(StateFileItem createdItem)` File created
`void` | `itemDeleted(StateFileItem deletedItem)` File deleted
`File` | `stateFileItemToFile(StateFileItem stateFileItem)`

Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Constructor Detail

### DirectoryStateFileChangeListener

    public DirectoryStateFileChangeListener(StateFileChangeListenerUtil stateFileChangeListenerUtil, File directory)

Method Detail

### itemChanged

    public void itemChanged(StateFileItem oldState, StateFileItem newState)

  File changed
  param:
    oldState
  param:
    newState

### itemCreated

    public void itemCreated(StateFileItem createdItem)

  File created
  param:
    createdItem

### itemDeleted

    public void itemDeleted(StateFileItem deletedItem)

  File deleted
  param:
    deletedItem

### stateFileItemToFile

    public File stateFileItemToFile(StateFileItem stateFileItem)

Groovy Documentation