Class ModelExtension
java.lang.Object
gg.jte.models.generator.ModelExtension
- All Implemented Interfaces:
JteExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(JteConfig config, Set<TemplateDescription> templateDescriptions) Perform the file generation.init will be called after the extension instance is constructed.name()
-
Field Details
-
modelConfig
-
-
Constructor Details
-
ModelExtension
public ModelExtension()
-
-
Method Details
-
name
- Specified by:
namein interfaceJteExtension- Returns:
- descriptive name of the extension
-
init
Description copied from interface:JteExtensioninit will be called after the extension instance is constructed. The map can be used to pass additional configuration properties from a build script.- Specified by:
initin interfaceJteExtension- Parameters:
value- Map of property key to configured value- Returns:
- self or a replacement
-
generate
Description copied from interface:JteExtensionPerform the file generation.- Specified by:
generatein interfaceJteExtension- Parameters:
config- access to general jte configurationtemplateDescriptions- data about each template jte found.- Returns:
- the paths to each file generated by this extension
-