Class LineGraphExport.Statistic
java.lang.Object
org.variantsync.diffdetective.variation.diff.serialize.LineGraphExport.Statistic
- All Implemented Interfaces:
Metadata<LineGraphExport.Statistic>
- Enclosing class:
LineGraphExport
public static final class LineGraphExport.Statistic
extends Object
implements Metadata<LineGraphExport.Statistic>
-
Field Summary
Modifier and TypeFieldDescriptionDebug data for VariationDiff serialization.int
The number of commits that were processed.int
Number of VariationDiffs that were processed.static final org.variantsync.functjonal.category.InplaceSemigroup<LineGraphExport.Statistic>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.variantsync.functjonal.category.InplaceSemigroup<LineGraphExport.Statistic>
Metadata should be composable.void
setFromSnapshot
(LinkedHashMap<String, String> snap) snapshot()
Create a key-value store of the metadata that can be used for serialization.
-
Field Details
-
exportedCommits
public int exportedCommitsThe number of commits that were processed.exportedCommits <= totalCommits
-
exportedTrees
public int exportedTreesNumber of VariationDiffs that were processed. -
debugData
Debug data for VariationDiff serialization. -
ISEMIGROUP
public static final org.variantsync.functjonal.category.InplaceSemigroup<LineGraphExport.Statistic> ISEMIGROUP
-
-
Constructor Details
-
Statistic
public Statistic()
-
-
Method Details
-
semigroup
Description copied from interface:Metadata
Metadata should be composable. Composition should be inplace to optimize performance.- Specified by:
semigroup
in interfaceMetadata<LineGraphExport.Statistic>
-
snapshot
Description copied from interface:Metadata
Create a key-value store of the metadata that can be used for serialization.- Specified by:
snapshot
in interfaceMetadata<LineGraphExport.Statistic>
- Returns:
- A LinkedHashMap that stores all relevant properties to export. The return type has to be a LinkedHashMap to obtain insertion-order iteration.
-
setFromSnapshot
- Specified by:
setFromSnapshot
in interfaceMetadata<LineGraphExport.Statistic>
-