Package com.embabel.agent.tools.file
Class DefaultFileChangeLog
-
- All Implemented Interfaces:
-
com.embabel.agent.tools.file.FileChangeLog
public final class DefaultFileChangeLog implements FileChangeLog
Convenient file change log implementation that stores changes in memory and correctly handles duplicates.
-
-
Constructor Summary
Constructors Constructor Description DefaultFileChangeLog(List<FileModification> changes)
-
Method Summary
Modifier and Type Method Description UnitflushChanges()UnitrecordChange(FileModification c)List<FileModification>getChanges()-
-
Constructor Detail
-
DefaultFileChangeLog
DefaultFileChangeLog(List<FileModification> changes)
-
-
Method Detail
-
flushChanges
Unit flushChanges()
-
recordChange
Unit recordChange(FileModification c)
-
getChanges
List<FileModification> getChanges()
-
-
-
-