Package org.javers.core.snapshot
Class SnapshotDiffer
java.lang.Object
org.javers.core.snapshot.SnapshotDiffer
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotDiffer(DiffFactory diffFactory, CoreConfiguration javersCoreConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncalculateDiffs(List<CdoSnapshot> snapshots, Map<SnapshotIdentifier, CdoSnapshot> previousSnapshots) Calculates changes introduced by a collection of snapshots.
-
Constructor Details
-
SnapshotDiffer
-
-
Method Details
-
calculateDiffs
public List<Change> calculateDiffs(List<CdoSnapshot> snapshots, Map<SnapshotIdentifier, CdoSnapshot> previousSnapshots) Calculates changes introduced by a collection of snapshots. This method expects that the previousSnapshots map contains predecessors of all non-initial and non-terminal snapshots.
-