Class OutputValidator

java.lang.Object
network.ike.docs.plugin.OutputValidator

public class OutputValidator extends Object
Scans generated AsciiDoc output for common conversion problems.

Detects unresolved attributes, missing includes, broken cross-references, and missing images. Results are returned as a list of OutputValidator.Issue records for the caller to log or fail the build.

  • Constructor Details

    • OutputValidator

      public OutputValidator()
      Creates a new output validator.
  • Method Details

    • validate

      public List<OutputValidator.Issue> validate(Path outputDir, Backend backend) throws IOException
      Validate all files in the given output directory.
      Parameters:
      outputDir - the directory to scan
      backend - the backend that produced the output
      Returns:
      list of issues found (empty if clean)
      Throws:
      IOException - if directory traversal fails