Package de.hybris.deltadetection
Interface ChangesCollector
- All Known Subinterfaces:
BatchingCollector,CountingChangesCollector
- All Known Implementing Classes:
CsvReportChangesCollector,InMemoryChangesCollector,ItemTypeGroupingCollectorWithBatching,MediaBatchingCollector,StreamingChangesCollector
public interface ChangesCollector
Responsible for collecting the changes.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancollect(ItemChangeDTO change) Collects the given change in a specified way.voidfinish()Finishes the collecting changes, depending on implementation, may be used as kind of post processing after finalizing collecting the changes.
-
Method Details
-
collect
Collects the given change in a specified way.- Parameters:
change- change to be collected- Returns:
true, if the collecting process should continue,falseotherwise
-
finish
void finish()Finishes the collecting changes, depending on implementation, may be used as kind of post processing after finalizing collecting the changes. E.g. a csv report can be generated here.
-