public interface TemplateEngineConfigurationApi
Modifier and Type | Method and Description |
---|---|
List<TemplateProcessor> |
getTemplateProcessors()
Returns the currently registered template processors.
|
TemplateRepositoryService |
getTemplateRepositoryService()
Returns the template repository service to query for template definitions or to create template definition deployments.
|
TemplateService |
getTemplateService()
Returns the template service used to render templates based on a template definition.
|
void |
registerTemplateProcessor(TemplateProcessor templateProcessor)
Registers the given template processor for processing template content.
|
void |
removeTemplateProcessor(TemplateProcessor templateProcessor)
Removes a previously registered template processor.
|
void |
setTemplateProcessors(List<TemplateProcessor> processors)
If you need / want to overwrite the full list of processors, use this method to provide a list of processors (they are consumed in exactly the given
order in the list).
|
TemplateRepositoryService getTemplateRepositoryService()
TemplateService getTemplateService()
void registerTemplateProcessor(TemplateProcessor templateProcessor)
templateProcessor
- the template processor to registervoid removeTemplateProcessor(TemplateProcessor templateProcessor)
templateProcessor
- the processor to be removedvoid setTemplateProcessors(List<TemplateProcessor> processors)
processors
- the processors to registerList<TemplateProcessor> getTemplateProcessors()