java.lang.Object
de.serra.so_dirty.sn.ClassSnapshotNode
- Alle implementierten Schnittstellen:
SnapshotNode
Snapshot of an class and its fields.
- Autor:
- Peter Lamby
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungClassSnapshotNode(Object value, Map<String, @Nullable SnapshotNode> fieldsToSnapshots) Constructs -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdiff(@Nullable SnapshotNode other, String path) Compare this node to theotherone.value()The value that was used to create the snapshot.
-
Konstruktordetails
-
ClassSnapshotNode
Constructs- Parameter:
value- The instance of the class.fieldsToSnapshots- aMapof field names to the correspondingSnapshotNode.
-
-
Methodendetails
-
value
Beschreibung aus Schnittstelle kopiert:SnapshotNodeThe value that was used to create the snapshot.Please not that the interior of the object may have been modified since the snapshot was taken.
- Angegeben von:
valuein SchnittstelleSnapshotNode- Gibt zurück:
- The value that was used to create the snapshot.
-
diff
Beschreibung aus Schnittstelle kopiert:SnapshotNodeCompare this node to theotherone.pathis used to provide context to the returnedDifferenceNode.- Angegeben von:
diffin SchnittstelleSnapshotNode- Parameter:
other- The other node.path- The relative path ofthisandother.- Gibt zurück:
- a
DifferenceNodedescribing the differences. Nevernull.
-