public final class TemplateEntry extends Object
TemplateWatcher.| Constructor and Description |
|---|
TemplateEntry(File templateFile,
String targetFilePath,
com.github.jknack.handlebars.Template template,
String appName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
String |
getTargetFilePath() |
com.github.jknack.handlebars.Template |
getTemplate() |
File |
getTemplateFile() |
public TemplateEntry(File templateFile, String targetFilePath, com.github.jknack.handlebars.Template template, String appName)
templateFile - the template filetargetFilePath - the path of the target file (null to output in the default's directory)appName - the name of the application scoped by this template, or null for a global template entrytemplate - the compiled Handlebars templateroot - true if the template is in the root directory, false if it is in a child directorypublic File getTemplateFile()
public String getAppName()
public com.github.jknack.handlebars.Template getTemplate()
public String getTargetFilePath()
Copyright © 2017. All rights reserved.