The following diagram represents the structure of the CodeGen project. The following color code applies:
- Bright yelow - specification modules (only contain interfaces and sometimes data models)
- Bright blue - modules containing implementations of the specifications inside the specification modules
- Dark blue - cross-layer modules which may be used as dependencies to any of the other modules
codegen-common
Provides convenience methods and algorithms which are commonly used throughout the CodeGen project.
Go to JavaDOC
codegen-util
Provides utility classes for building various items used in the CodeGen project.
Go to JavaDOC
codegen-model
Holds the configuration data model. The configuration is the user-defined application model.
Go to JavaDOC
codegen-config
Specification for the configuration loader which has the purpose of populating the codegen-model.
Go to JavaDOC
codegen-config-stock
Provides configuration loaders for stock formats, such as the the indented business model format.
Go to JavaDOC
codegen-config-common
Provides configuration loaders for the most commonly used data formats (i.e. XML, JSON).
Go to JavaDOC
codegen-core
Provides the specification for the CodeGen Core. The core is the object responsible for the execution of the CodeGen workflow, which is represented by a given CodeGen Bundle.
Go to JavaDOC
codegen-core-stock
Stock implementation of the codegen-core.
Go to JavaDOC
codegen-preprocessor
Provides the specification for the CodeGen pre-processor. The pre-processors are responsible for completing and enriching the data model after it is loaded.
Go to JavaDOC
codegen-preprocessor-stock
Provides stock implementations of the CodeGen pre-processor specification. This includes name re-factoring, type resolution and more.
Go to JavaDOC
codegen-postprocessor
Provides the specification for the CodeGen post-processor. Post-processors are responsible for (but not limited to) injecting project variables or user-provided variables into the generated content.
Go to JavaDOC
codegen-postprocessor-stock
Provides stock implementations of the post-processor specification.
Go to JavaDOC
codegen-runner
Provides the specification for CodeGen runners and result handlers. A runner is responsible for generating content, while a result handler is responsible for outputting the generated content (usually to files on the filesystem).
Go to JavaDOC
codegen-runner-stock
Provides stock implementations of the codegen-runner package. The provided TemplateBasedCodegenRunner uses FreeMarker as a template engine.
Go to JavaDOC