@ConfigurationProperties(value="micronaut.views.handlebars") public class HandlebarsViewsRendererConfigurationProperties extends Object implements HandlebarsViewsRendererConfiguration
ConfigurationProperties
implementation of HandlebarsViewsRendererConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static String |
DEFAULT_EXTENSION
The default extension.
|
static String |
PREFIX
The prefix to use.
|
Constructor and Description |
---|
HandlebarsViewsRendererConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultExtension() |
boolean |
isEnabled()
enabled getter.
|
void |
setDefaultExtension(String defaultExtension)
The default extension.
|
void |
setEnabled(boolean enabled)
Whether handlebars view rendering is enabled.
|
public static final String PREFIX
public static final String DEFAULT_EXTENSION
public static final boolean DEFAULT_ENABLED
public HandlebarsViewsRendererConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface Toggleable
HandlebarsViewsRenderer
is enabled.public String getDefaultExtension()
getDefaultExtension
in interface HandlebarsViewsRendererConfiguration
public void setEnabled(boolean enabled)
enabled
- True if is enabled