Interface JteViewsRendererConfiguration

All Known Implementing Classes:
JteViewsRendererConfigurationProperties

public interface JteViewsRendererConfiguration
Configuration for JTE views.
Since:
3.1.0
Author:
edward3h
  • 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 jte Binary Rendering docs). (When using precompiled templates, this setting is determined by the build configuration.)
      Returns:
      true to enable building binary content