Class WorkspaceVerifier
java.lang.Object
network.ike.plugin.ws.verify.WorkspaceVerifier
Workspace-wide verification — the read-only logic formerly in
the retired
ws:verify goal (IKE-Network/ike-issues#393).
Now invoked by ws:scaffold-draft as part of its drift
report.
Each verifyXxx method translates one check from the
original mojo. The verifyParentAlignment() check was
intentionally dropped during the extraction: parent drift is now
detected by ParentVersionReconciler.detect() (one of the
workspace-level reconcilers run by ws:scaffold-draft)
and would otherwise duplicate that warning.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceVerifier(org.apache.maven.api.plugin.Log log, network.ike.workspace.WorkspaceGraph graph, File root, Path manifestPath, boolean checkConvergence, boolean workspaceMode) Construct a verifier bound to a single workspace. -
Method Summary
Modifier and TypeMethodDescriptionRun every verification check; returns the row data the caller uses to render its markdown report.
-
Constructor Details
-
WorkspaceVerifier
public WorkspaceVerifier(org.apache.maven.api.plugin.Log log, network.ike.workspace.WorkspaceGraph graph, File root, Path manifestPath, boolean checkConvergence, boolean workspaceMode) Construct a verifier bound to a single workspace.- Parameters:
log- Maven logger for streaming check outputgraph- the workspace graph (already loaded by caller)root- workspace root directorymanifestPath- path toworkspace.yamlcheckConvergence- run the slow transitive-convergence checkworkspaceMode-truewhen running inside a workspace;falsefor a bare repo
-
-
Method Details
-
runAllChecks
Run every verification check; returns the row data the caller uses to render its markdown report. Also logs check progress and outcomes to theLogpassed in the constructor.- Returns:
- per-check
{label, status}rows - Throws:
org.apache.maven.api.plugin.MojoException- if a verification step fails irrecoverably
-