Class ReleaseStatusInspector

java.lang.Object
network.ike.plugin.ws.ReleaseStatusInspector

public final class ReleaseStatusInspector extends Object
Pure inference logic for WsReleaseStatusMojo — given a snapshot of git observations for one subproject, classifies the subproject's release state.

This class is git-only and side-effect free. The mojo is responsible for collecting an ReleaseStatusInspector.Observation from the live repository (via git subprocesses); this class encapsulates the rules that turn that observation into a ReleaseStatusInspector.Finding.

The split exists so that the classification rules can be exercised without building a real git repository on disk for every scenario — see WsReleaseStatusInspectorTest. End-to-end coverage that spans real git tag, git branch, and remote interaction lives in WsReleaseStatusIntegrationTest.

See issue #187.