Class SiteReconcilerRegistry

java.lang.Object
network.ike.plugin.reconcile.SiteReconcilerRegistry

public final class SiteReconcilerRegistry extends Object
Compile-time registry of the site-level reconcilers iterated by ike:site-draft (report) and ike:site-publish (apply).

Order matters: reconcilers run in the order returned by all(). The forward-deploy pass runs deployed-site first (so the site URL is reachable) and registration second (so the landing page can link to a live target). The uninstall pass reverses this order — landing-page deregistration first (so users don't see a broken link), then stale site cleanup last.

Parallels network.ike.plugin.ws.reconcile.ReconcilerRegistry but at the per-repo scope. See SiteReconciler for why the two are intentionally not shared.

See Also:
  • Method Details

    • all

      public static List<SiteReconciler> all()
      Reconcilers in forward-deploy order. site-publish (default) iterates this list and calls SiteReconciler.apply(SiteContext) on each.
      Returns:
      the ordered list of all registered reconcilers
    • uninstallOrder

      public static List<SiteReconciler> uninstallOrder()
      Reconcilers in uninstall order — landing-page deregistration first (so users don't see a link to a removed site), stale cleanup last. site-publish -Dsite=removed iterates this list and calls SiteReconciler.uninstall(SiteContext) on each.
      Returns:
      the ordered list in uninstall order