Package org.javers.core.snapshot
Class SnapshotDiffer
- java.lang.Object
-
- org.javers.core.snapshot.SnapshotDiffer
-
public class SnapshotDiffer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SnapshotDiffer(DiffFactory diffFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Change>
calculateDiffs(java.util.List<CdoSnapshot> snapshots, java.util.Map<SnapshotIdentifier,CdoSnapshot> previousSnapshots)
Calculates changes introduced by a collection of snapshots.
-
-
-
Constructor Detail
-
SnapshotDiffer
public SnapshotDiffer(DiffFactory diffFactory)
-
-
Method Detail
-
calculateDiffs
public java.util.List<Change> calculateDiffs(java.util.List<CdoSnapshot> snapshots, java.util.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.
-
-