Class OutputValidator
java.lang.Object
network.ike.docs.plugin.OutputValidator
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA single validation issue found in a generated file.static enumSeverity levels for validation issues. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionValidate all files in the given output directory.
-
Constructor Details
-
OutputValidator
public OutputValidator()Creates a new output validator.
-
-
Method Details
-
validate
Validate all files in the given output directory.- Parameters:
outputDir- the directory to scanbackend- the backend that produced the output- Returns:
- list of issues found (empty if clean)
- Throws:
IOException- if directory traversal fails
-