Class FreeMarkerTemplateFilesCreator
java.lang.Object
io.github.besi97.graphql.codegen.generators.FreeMarkerTemplateFilesCreator
Utility class for generating files
-
Method Summary
Modifier and TypeMethodDescriptionstatic Filecreate(MappingContext mappingContext, FreeMarkerTemplateType templateType, Map<String, Object> dataModel) Crates a new file according to template
-
Method Details
-
create
public static File create(MappingContext mappingContext, FreeMarkerTemplateType templateType, Map<String, Object> dataModel) Crates a new file according to template- Parameters:
mappingContext- Global mapping contexttemplateType- Template typedataModel- FreeMarker data model- Returns:
- a created file
-