Class RegistryDelta
java.lang.Object
network.ike.docs.plugin.diff.RegistryDelta
Entry-keyed delta of the IKE topic registry between the two sides of
a doc-diff comparison, rendered as an AsciiDoc partial
(ike-issues#650). Both sides are generated from the files on that side
(
RegistryIndex.load(GitSource, String, String)); no hand-kept registry is read.
Always keyed by entry id, never by line. Output is condensed for
review — summary/notes changes are flagged as rewritten
rather than reproduced, list fields report added/removed items, scalars
report old → new. Covers per-domain topic entries, the topic counts,
and assembly membership.
-
Constructor Summary
ConstructorsConstructorDescriptionRegistryDelta(String fromRef, String toRef) Create a delta generator over one comparison. -
Method Summary
Modifier and TypeMethodDescriptionrender(RegistryIndex oldIndex, RegistryIndex newIndex) Render the delta as an AsciiDoc partial with a level-1 title.
-
Constructor Details
-
RegistryDelta
Create a delta generator over one comparison.- Parameters:
fromRef- the from-side reftoRef- the to-side ref (may beGitSource.WORKTREE)
-
-
Method Details
-
render
Render the delta as an AsciiDoc partial with a level-1 title.- Parameters:
oldIndex- the registry generated for the from sidenewIndex- the registry generated for the to side- Returns:
- the partial's text, or an empty string when nothing in the registry changed
-