Skip to content
Ryan Heaton edited this page Sep 17, 2015 · 2 revisions

Custom Modules

An Enunciate module is simply a class that implements com.webcohesion.enunciate.module.EnunciateModule. If you're writing you're own module, you may want to start by extending BasicEnunicateModule or BasicGeneratingModule.

Package your module into a jar, making sure your module class name is put in a file META-INF/services/com.webcohesion.enunciate.module.EnunciateModule in the jar (see Java Service Loader documentation for details). If your jar is on the classpath when you invoke Enunciate, it should included as part of the engine.

Note that custom modules will need to be added to the Enunciate classpath. See Executables for details.

Clone this wiki locally