Class TuringPluginDoclet

java.lang.Object
com.scivicslab.pojoactor.doclet.TuringPluginDoclet
All Implemented Interfaces:
Doclet

public class TuringPluginDoclet extends Object implements Doclet
Javadoc doclet that generates META-INF/turing-plugin.json from @Action annotated methods.

Extracts action names, Javadoc descriptions, and @param tags for each @Action method, writing structured JSON metadata into the JAR's META-INF directory. The Workflow Editor reads this file directly from JAR entries without loading the plugin into the JVM.

Configure in maven-javadoc-plugin:


 <execution>
   <id>generate-plugin-manifest</id>
   <goals><goal>javadoc</goal></goals>
   <phase>prepare-package</phase>
   <configuration>
     <doclet>com.scivicslab.pojoactor.doclet.TuringPluginDoclet</doclet>
     <docletArtifact>
       <groupId>com.scivicslab</groupId>
       <artifactId>pojo-actor</artifactId>
       <version>3.0.1</version>
     </docletArtifact>
     <useStandardDocletOptions>false</useStandardDocletOptions>
     <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
   </configuration>
 </execution>