public interface ChangeRecorder
Modifier and Type | Method and Description |
---|---|
void |
recordChange(DependencyChangeRecord changeRecord)
Record that a dependency was updated.
|
void |
recordChange(PropertyChangeRecord changeRecord)
Record that a property was updated.
|
void |
writeReport(Path outputPath)
Write the current set of changes to the given output path.
|
void recordChange(DependencyChangeRecord changeRecord)
changeRecord
- a dependency record described changevoid recordChange(PropertyChangeRecord changeRecord)
changeRecord
- a property record described changevoid writeReport(Path outputPath) throws IOException
Implementation is responsible for creating all missing directories.
Output should not be created for empty record sets.
outputPath
- The output path, can be null, provided by changeRecorderOutputFile
plugin parametersIOException
- On write and/or I/O errorsCopyright © 2008–2023 MojoHaus. All rights reserved.