@ConfigurationProperties(value="micronaut.views.jte") public final class JteViewsRendererConfigurationProperties extends java.lang.Object implements JteViewsRendererConfiguration
Modifier and Type | Field and Description |
---|---|
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.
|
boolean |
isDynamic()
Use dynamic/hot reload 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.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_DYNAMIC
public static final java.lang.String DEFAULT_DYNAMIC_PATH
public JteViewsRendererConfigurationProperties()
public void setDynamic(boolean dynamic)
dynamic
- true to enable dynamic reloadingpublic boolean isDynamic()
JteViewsRendererConfiguration
isDynamic
in interface JteViewsRendererConfiguration
public void setDynamicPath(java.lang.String path)
path
- the directorypublic java.lang.String getDynamicPath()
JteViewsRendererConfiguration
getDynamicPath
in interface JteViewsRendererConfiguration