Uses of Interface
org.variantsync.diffdetective.variation.diff.source.VariationDiffSource
Package
Description
-
Uses of VariationDiffSource in org.variantsync.diffdetective.diff.git
Modifier and TypeInterfaceDescriptioninterface
Interface for patches from a git repository.Modifier and TypeClassDescriptionstatic final record
Minimal default implementation ofGitPatch
class
Data class containing information about a single patch (i.e., the differences in a single file). -
Uses of VariationDiffSource in org.variantsync.diffdetective.mining
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionRWCompositePatternTreeFormat.toLabel
(VariationDiffSource variationDiffSource) -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff
Modifier and TypeMethodDescriptionVariationDiff.getSource()
Returns the source of this VariationDiff (i.e., the data this VariationDiff was created from).Modifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel>
DiffGraph.fromNodes
(Collection<DiffNode<DiffLinesLabel>> nodes, VariationDiffSource source) Deprecated.Takes a set of DiffNodes that forms a DiffGraph (i.e., similar to a VariationDiff but with no explicit root) and converts it to a VariationDiff by equipping it with a synthetic root node.void
VariationDiff.setSource
(VariationDiffSource source) Sets the source of this VariationDiff.ModifierConstructorDescriptionVariationDiff
(DiffNode<L> root, VariationDiffSource source) Creates a VariationDiff that only consists of the single given root node. -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff.bad
Modifier and TypeFieldDescriptionprivate final VariationDiffSource
BadVDiffFromVariationDiffSource.initialVariationDiff
The field for theinitialVariationDiff
record component.Modifier and TypeMethodDescriptionBadVDiffFromVariationDiffSource.initialVariationDiff()
Returns the value of theinitialVariationDiff
record component.ModifierConstructorDescriptionBadVDiffFromVariationDiffSource
(VariationDiffSource initialVariationDiff) Creates an instance of aBadVDiffFromVariationDiffSource
record class. -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff.render
Modifier and TypeMethodDescriptionprivate <L extends Label>
booleanVariationDiffRenderer.render
(VariationDiff<? extends L> tree, String treeAndFileName, Path directory, RenderOptions<? super L> options, LineGraphExportOptions<? super L> exportOptions, BiFunction<String, VariationDiffSource, String> treeHeader) Renders the given VariationDiff to an image file. -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff.serialize
Modifier and TypeMethodDescriptionprivate static String
LineGraphExport.lineGraphHeader
(VariationDiffSource source, LineGraphExportOptions<?> options) Produces the final linegraph file content. -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff.serialize.treeformat
Modifier and TypeMethodDescriptionConverts a label of line graph into aVariationDiffSource
.default VariationDiffSource
VariationDiffLabelFormat.fromLineGraphLine
(String lineGraphLine) Converts a line describing a graph (starting with "t # ") in line graph format into aVariationDiffSource
.Modifier and TypeMethodDescriptionCommitDiffVariationDiffLabelFormat.toLabel
(VariationDiffSource variationDiffSource) IndexedTreeFormat.toLabel
(VariationDiffSource variationDiffSource) VariationDiffLabelFormat.toLabel
(VariationDiffSource variationDiffSource) Converts aVariationDiffSource
label of line graph.default String
VariationDiffLabelFormat.toLineGraphLine
(VariationDiffSource variationDiffSource) Prepends thetree declaration
to a label and return an entire line graph line. -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff.source
Modifier and TypeClassDescriptionclass
Describes that a VariationDiff was created from a patch in aCommitDiff
.final record
final record
A source for VariationDiffs that were parsed from a linegraph file.final record
A source for VariationDiff's that were created from patch files on disk.final record
Source for VariationDiffs that were created from a patch given as a String.final record
Describes that aVariationDiff
was created from twoVariationTree
s.Modifier and TypeFieldDescriptionstatic final VariationDiffSource
VariationDiffSource.Unknown
Constant to use when the source of a VariationDiff is unknown or if it was created artificially. -
Uses of VariationDiffSource in org.variantsync.diffdetective.variation.diff.view
Modifier and TypeClassDescriptionfinal record
ViewSource<L extends Label>
AVariationDiffSource
that remembers that a variation diff represents a view on another variation diff.