Package org.machanism.machai.gw.reviewer
Class PumlReviewer
java.lang.Object
org.machanism.machai.gw.reviewer.PumlReviewer
- All Implemented Interfaces:
Reviewer
Reviewer implementation for PlantUML files (.puml).
Extracts documented guidance from PlantUML content using a special tag for input into automated documentation workflows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the file extensions supported by this reviewer.Reviews the given PlantUML file for contained guidance comments and formats the content for input to documentation generators.
-
Constructor Details
-
PumlReviewer
public PumlReviewer()
-
-
Method Details
-
getSupportedFileExtensions
Returns the file extensions supported by this reviewer. This reviewer handles files with the 'puml' extension.- Specified by:
getSupportedFileExtensionsin interfaceReviewer- Returns:
- an array of supported file extension strings
-
perform
Reviews the given PlantUML file for contained guidance comments and formats the content for input to documentation generators.- Specified by:
performin interfaceReviewer- Parameters:
projectDir- the root directory of the project for contextguidancesFile- the PlantUML file to be analyzed- Returns:
- formatted documentation guidance or
nullif none found - Throws:
IOException- if an error occurs reading the file
-