Interface SoyViewsRendererConfiguration

All Superinterfaces:
io.micronaut.core.util.Toggleable
All Known Implementing Classes:
SoyViewsRendererConfigurationProperties

public interface SoyViewsRendererConfiguration extends io.micronaut.core.util.Toggleable
Configuration for the soy view renderer.
Since:
1.2.1
Author:
Sam Gammon (sam@bloombox.io)
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable com.google.template.soy.jbcsrc.api.SoySauce
     
    com.google.template.soy.SoyFileSet
     
    boolean
     
    void
    setRenamingEnabled(boolean renaming)
    Turns renaming on or off.

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled
  • Method Details

    • getFileSet

      com.google.template.soy.SoyFileSet getFileSet()
      Returns:
      The backing Soy file set
    • isRenamingEnabled

      boolean isRenamingEnabled()
      Returns:
      Whether renaming is enabled
    • setRenamingEnabled

      void setRenamingEnabled(boolean renaming)
      Turns renaming on or off.
      Parameters:
      renaming - Renaming status.
    • getCompiledTemplates

      @Nullable default @Nullable com.google.template.soy.jbcsrc.api.SoySauce getCompiledTemplates()
      Returns:
      Return a set of pre-compiled Soy templates, if supported