Class SnapshotDiffer

java.lang.Object
org.javers.core.snapshot.SnapshotDiffer

public class SnapshotDiffer extends Object
  • Constructor Details

  • 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.