public interface ClassProcessor
process(java.net.URL) points to the
compiled application classes. No external libraries are on the process URL,
solely the output of compiling application source files.
This gives the opportunity for ClassProcessor's to scan the path and
generate artifacts without risk of confusing library and application classes.
For example a service may scan for a specific annotation and generate a
tailored solution based on the meta-data discovered during scanning.
ServiceLoader pattern to register user
implemented NodeFactories. Please read the java documentation describing the
meta-data a factory implementor must provide to register a factory using the
ServiceLoader pattern.| Modifier and Type | Method and Description |
|---|---|
default void |
outputDirectories(File rootDir,
File output,
File resourceDir)
Directories for the current generation context
|
void |
process(URL classPath)
The URL of compiled application classes
|
default void outputDirectories(File rootDir, File output, File resourceDir)
rootDir - - root directory of the projectoutput - - directory for generated source outputsresourceDir - - directory for generated resource outputsvoid process(URL classPath)
classPath - application classes locationCopyright © 2019. All rights reserved.