public class CountingTemplate extends EglPersistentTemplate
outputRoot, outputRootPathlisteners, module, name, template| Constructor and Description |
|---|
CountingTemplate(EglTemplateSpecification spec,
IEglContext context,
URI outputRoot) |
| Modifier and Type | Method and Description |
|---|---|
static int |
countFor(File file) |
protected void |
doGenerate(File file,
String targetName,
boolean overwrite,
boolean protectRegions)
Store result of processing template in the given file.
|
void |
reset() |
addMessage, generate, generate, name, resolveFile, store, storeaddProtectedRegionWarning, getContents, getDeclaredModelDefinitions, getDeclaredOperations, getFormatter, getImports, getIncrementalitySettings, getModelDefinitions, getModule, getName, getOperations, getParseProblems, getTemplate, isProcessed, merge, populate, printWarning, process, setFormatter, setFormatters, setFormatters, setIncrementalitySettingspublic CountingTemplate(EglTemplateSpecification spec, IEglContext context, URI outputRoot) throws Exception
Exceptionprotected void doGenerate(File file, String targetName, boolean overwrite, boolean protectRegions) throws EglRuntimeException
EglPersistentTemplateEglTemplate.contents.doGenerate in class EglPersistentTemplateEglRuntimeExceptionpublic static int countFor(File file)
public void reset()
reset in class EglTemplateCopyright © 2020. All rights reserved.