public class TemplateParser extends Object
Constructor and Description |
---|
TemplateParser() |
Modifier and Type | Method and Description |
---|---|
protected static String |
createOutputFile(String debugFile) |
protected static Map<String,Object> |
createTemplateData(String sourceDirectory) |
protected static String |
formatJsonString(String jsonString) |
static void |
main(String[] args) |
protected static Map<String,String> |
resolveModels(String sourceDirectory) |
protected static Map<String,List<String>> |
resolvePaths(String sourceDirectory) |
protected static void |
resolveVersions(Map<String,Object> templateData)
Resolve the Camunda Platform version and the respective documentation version used in the links.
|
public static void main(String[] args) throws IOException, freemarker.template.TemplateException
IOException
freemarker.template.TemplateException
protected static Map<String,Object> createTemplateData(String sourceDirectory) throws IOException
IOException
protected static String createOutputFile(String debugFile) throws IOException
IOException
protected static void resolveVersions(Map<String,Object> templateData)
protected static Map<String,String> resolveModels(String sourceDirectory)
sourceDirectory
- the template directory that stores the modelsprotected static Map<String,List<String>> resolvePaths(String sourceDirectory)
sourceDirectory
- the template directory that stores the endpointsCopyright © 2021. All rights reserved.