-
Notifications
You must be signed in to change notification settings - Fork 200
Custom Modules
Note: The following is applicable to Enunciate 2. For Enunciate 1.x custom modules, see Custom Modules (Version 1).
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.