@ConfigurationProperties(value="micronaut.views.jte") public final class JteViewsRendererConfigurationProperties extends java.lang.Object implements JteViewsRendererConfiguration
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_BINARY_STATIC_CONTENT |
static boolean |
DEFAULT_DYNAMIC
The default dynamic value.
|
static java.lang.String |
DEFAULT_DYNAMIC_PATH
The default dynamic value.
|
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
JteViewsRendererConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDynamicPath()
When using dynamic templates, the root directory to write generated source and classes under.
|
java.lang.String |
getDynamicSourcePath()
When using dynamic templates, the root source directory to search.
|
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).
|
boolean |
isDynamic()
Use dynamic/hot reload templates.
|
void |
setBinaryStaticContent(boolean binaryStaticContent)
Enable building binary content for templates.
|
void |
setDynamic(boolean dynamic)
Whether to enable dynamic reloading of templates.
|
void |
setDynamicPath(java.lang.String path)
Root directory under which to write generated source and class files.
|
void |
setDynamicSourcePath(java.lang.String path)
When using dynamic templates, the root source directory to search.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_DYNAMIC
public static final java.lang.String DEFAULT_DYNAMIC_PATH
public static final boolean DEFAULT_BINARY_STATIC_CONTENT
public JteViewsRendererConfigurationProperties()
public void setDynamic(boolean dynamic)
dynamic - true to enable dynamic reloadingpublic boolean isDynamic()
JteViewsRendererConfigurationisDynamic in interface JteViewsRendererConfigurationpublic void setDynamicPath(java.lang.String path)
path - the directorypublic java.lang.String getDynamicPath()
JteViewsRendererConfigurationgetDynamicPath in interface JteViewsRendererConfigurationpublic java.lang.String getDynamicSourcePath()
JteViewsRendererConfigurationgetDynamicSourcePath in interface JteViewsRendererConfigurationpublic void setDynamicSourcePath(java.lang.String path)
path - the directorypublic boolean isBinaryStaticContent()
JteViewsRendererConfigurationisBinaryStaticContent in interface JteViewsRendererConfigurationpublic void setBinaryStaticContent(boolean binaryStaticContent)
binaryStaticContent - true to enable binary content