@ConfigurationProperties(prefix="spring.groovy.template", ignoreUnknownFields=false) public class GroovyTemplateProperties extends Object
ConfigurationProperties
for configuring Groovy templates.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
DEFAULT_SUFFIX |
Constructor and Description |
---|
GroovyTemplateProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getCharSet() |
Map<String,Object> |
getConfiguration() |
String |
getContentType() |
String |
getPrefix() |
String |
getSuffix() |
String[] |
getViewNames() |
boolean |
isCache() |
boolean |
isCheckTemplateLocation() |
void |
setCache(boolean cache) |
void |
setCharSet(String charSet) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setConfiguration(Map<String,Object> configuration) |
void |
setContentType(String contentType) |
void |
setPrefix(String prefix) |
void |
setSuffix(String suffix) |
void |
setViewNames(String[] viewNames) |
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
public void setCheckTemplateLocation(boolean checkTemplateLocation)
public boolean isCheckTemplateLocation()
public String[] getViewNames()
public void setViewNames(String[] viewNames)
public boolean isCache()
public void setCache(boolean cache)
public String getContentType()
public void setContentType(String contentType)
public String getCharSet()
public void setCharSet(String charSet)
public String getPrefix()
public void setPrefix(String prefix)
public String getSuffix()
public void setSuffix(String suffix)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.