Class CommitDiffVariationDiffLabelFormat
java.lang.Object
org.variantsync.diffdetective.variation.diff.serialize.treeformat.CommitDiffVariationDiffLabelFormat
- All Implemented Interfaces:
LinegraphFormat,VariationDiffLabelFormat
A
VariationDiffLabelFormat for CommitDiffs and PatchDiffs.
This format labels trees with the patch they originated from.
Produced labels will be of the form filename$$$commitHash.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.LinegraphFormat
getIdentifier, getShortNameMethods inherited from interface org.variantsync.diffdetective.variation.diff.serialize.treeformat.VariationDiffLabelFormat
fromLineGraphLine, toLineGraphLine
-
Constructor Details
-
CommitDiffVariationDiffLabelFormat
public CommitDiffVariationDiffLabelFormat()
-
-
Method Details
-
fromLabel
Description copied from interface:VariationDiffLabelFormatConverts a label of line graph into aSource.- Specified by:
fromLabelin interfaceVariationDiffLabelFormat- Parameters:
label- A string containing the label of theSource- Returns:
- The
Sourcedescribed by this label.
-
toLabel
Description copied from interface:VariationDiffLabelFormatConverts aSourcelabel of line graph.- Specified by:
toLabelin interfaceVariationDiffLabelFormat- Parameters:
variationDiffSource- TheSourceto be converted- Returns:
- The corresponding line graph line
-