Modello Velocity Plugin

Modello Velocity Plugin generates files from the Modello model using Velocity templates.

Velocity Processing

The plugin is configured with a list of template files to evaluate.

During template evaluation, #MODELLO-VELOCITY#SAVE-OUTPUT-TO {relative path to file} pseudo macro is available to send the rendered content to a file.

The Velocity context contains some variables related to the Modello model context that you can use:

Variable Type Description
parameters configured in the plugin String The parameters values configured in the plugin as {key}={value}.
version String The version of the model being used.
model Model The Modello model.
Helper Helper A helper tool with classical functions useful to generate content from a Modello model API.
generatedBy String "Generated by Modello Velocity from " + templatePath + " template, any modifications will be overwritten."