Object ModuleMap

  • All Implemented Interfaces:

    
    public class ModuleMap
    
                        

    Browser4 module topology — a STATIC snapshot of which Maven modules depend on which, kept in sync with the real pom.xml graph.

    Used by the coding domain's impact tool and DevTaskPlanner as the no-I/O fallback (the LIVE graph from ModuleGraph is preferred whenever the workspace is available). The snapshot is validated against the real repo by ModuleMapDriftE2ETest: adding a module to the poms without syncing this map fails the test, and the test message names the missing modules.

    The map mirrors the actual pom.xml dependency edges of the Browser4 repository. When the module graph changes, this map is regenerated from the poms rather than being a hand-maintained contract.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<String> transitiveDependents(String module) All modules transitively affected when module changes (module + its direct dependents, transitively closed).
      final String mavenTestCommand(String module, String testClass) Suggested test command for a Maven module.
      final String cargoTestCommand() Suggested test command for the Rust CLI.
      final List<String> getMODULES() Known modules (module dirs containing a real pom.xml, incl.
      final Map<String, List<String>> getDEPENDENTS() module -> modules that directly depend on it (reverse edges from the real poms).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail