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 StateFileWriter

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

    class StateFileWriter
    extends java.lang.Object

State File Format: ( filename ${newLine} digest ${newLine} )*

author:
  Tom Eyckmans

Constructor Summary
`StateFileWriter(IoFactory ioFactory, File stateFile)`

Method Summary
`void` | `addDigest(java.lang.String key, java.lang.String digest)`
`void` | `close()`
`File` | `getStateFile()`
`void` | `lastFileDigestAdded()`

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

Constructor Detail

### StateFileWriter

    public StateFileWriter(IoFactory ioFactory, File stateFile)

Method Detail

### addDigest

    public void addDigest(java.lang.String key, java.lang.String digest)

### close

    public void close()

### getStateFile

    public File getStateFile()

### lastFileDigestAdded

    public void lastFileDigestAdded()

Groovy Documentation