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 Summary
Modifier 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.boolean
When using dynamic templates, build them with binary content (see https://github.com/casid/jte/blob/master/DOCUMENTATION.md#binary-rendering-for-max-throughput).boolean
Use dynamic/hot reload templates.
-
Method Details
-
isDynamic
boolean isDynamic()Use dynamic/hot reload templates.- Returns:
- true to enable reloading templates.
-
getDynamicPath
String getDynamicPath()When using dynamic templates, the root directory to write generated source and classes under.- Returns:
- the directory
-
getDynamicSourcePath
String 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
-
isBinaryStaticContent
boolean isBinaryStaticContent()When using dynamic templates, build them with binary content (see https://github.com/casid/jte/blob/master/DOCUMENTATION.md#binary-rendering-for-max-throughput). (When using precompiled templates, this setting is determined by the build configuration.)- Returns:
- true to enable building binary content
-