Package io.micronaut.views.jte
Interface JteViewsRendererConfiguration
- All Known Implementing Classes:
- JteViewsRendererConfigurationProperties
public interface JteViewsRendererConfiguration
Configuration for JTE views.
- Since:
- 3.1.0
- Author:
- edward3h
- 
Method SummaryModifier and TypeMethodDescriptionWhen using dynamic templates, the root directory to write generated source and classes under.When using dynamic templates, the root source directory to search.booleanWhen using dynamic templates, build them with binary content (see jte Binary Rendering docs).booleanUse dynamic/hot reload templates.
- 
Method Details- 
isDynamicboolean isDynamic()Use dynamic/hot reload templates.- Returns:
- true to enable reloading templates.
 
- 
getDynamicPathString getDynamicPath()When using dynamic templates, the root directory to write generated source and classes under.- Returns:
- the directory
 
- 
getDynamicSourcePathString getDynamicSourcePath()When using dynamic templates, the root source directory to search. If not specified, jte will search src/main/jte and src/main/resources/<folder> where folder is ViewsConfiguration.getFolder().- Returns:
- the directory
 
- 
isBinaryStaticContentboolean isBinaryStaticContent()When using dynamic templates, build them with binary content (see jte Binary Rendering docs). (When using precompiled templates, this setting is determined by the build configuration.)- Returns:
- true to enable building binary content
 
 
-