Package com.scivicslab.pojoactor.doclet
Class TuringPluginDoclet
java.lang.Object
com.scivicslab.pojoactor.doclet.TuringPluginDoclet
- All Implemented Interfaces:
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>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.javadoc.doclet.Doclet
Doclet.Option -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Set<? extends Doclet.Option> voidbooleanrun(DocletEnvironment env)
-
Constructor Details
-
TuringPluginDoclet
public TuringPluginDoclet()
-
-
Method Details
-
init
-
getName
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceDoclet
-
getSupportedOptions
- Specified by:
getSupportedOptionsin interfaceDoclet
-
run
-