Package de.hybris.deltadetection
Interface ChangesCollector
-
- All Known Subinterfaces:
BatchingCollector,CountingChangesCollector,GettableChangesCollector
- All Known Implementing Classes:
CsvReportChangesCollector,InMemoryChangesCollector,InMemoryGettableChangesCollector,ItemTypeGroupingCollectorWithBatching,MediaBatchingCollector,StreamingChangesCollector
public interface ChangesCollectorResponsible for collecting the changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancollect(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 Detail
-
collect
boolean collect(ItemChangeDTO change)
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.
-
-