@ConfigurationProperties(value="micronaut.views.velocity") public class VelocityViewsRendererConfigurationProperties extends Object implements VelocityViewsRendererConfiguration
ConfigurationProperties
implementation of VelocityViewsRendererConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static String |
DEFAULT_EXTENSION
The default extension.
|
static String |
PREFIX |
Constructor and Description |
---|
VelocityViewsRendererConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultExtension() |
boolean |
isEnabled()
enabled getter.
|
void |
setDefaultExtension(String defaultExtension)
Sets the defautlt extension to use for velocity templates.
|
void |
setEnabled(boolean enabled)
Whether velocity views are enabled.
|
public static final String PREFIX
public static final String DEFAULT_EXTENSION
public static final boolean DEFAULT_ENABLED
public VelocityViewsRendererConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface Toggleable
VelocityViewsRenderer
is enabled.public String getDefaultExtension()
getDefaultExtension
in interface VelocityViewsRendererConfiguration
public void setEnabled(boolean enabled)
enabled
- True if they are