public class MvelCodeGenerator extends Generator<Model>
Modifier and Type | Field and Description |
---|---|
String |
filename |
String |
templateFilename |
env, incremental, kinds, name
Constructor and Description |
---|
MvelCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
Collection<Class<? extends Annotation>> |
annotations() |
String |
filename(Model model)
Generate the file name for the
model . |
void |
load(ProcessingEnvironment processingEnv) |
String |
render(Model model,
int index,
int size,
Map<String,Object> session)
Render the model
|
public void load(ProcessingEnvironment processingEnv)
public Collection<Class<? extends Annotation>> annotations()
annotations
in class Generator<Model>
public String filename(Model model)
Generator
model
.
When the returned value
null
, no file is created/
and ends with .java
, the file is created as a source file by the annotation processor
and the class will be compiled by the current compilation processresources/
prefix, the file is created as a resource file by the annotation processor using the
remaining suffix value and the file will likely end in the classes directory/
is created relative to the codegen.output
directoryCopyright © 2022 Eclipse. All rights reserved.