Package ratpack.handlebars
Class HandlebarsModule.Config
- java.lang.Object
-
- ratpack.handlebars.HandlebarsModule.Config
-
- Enclosing class:
- HandlebarsModule
public static class HandlebarsModule.Config extends Object
The configuration object forHandlebarsModule
.
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlebarsModule.Config
cacheSize(int cacheSize)
HandlebarsModule.Config
delimiters(String startDelimiter, String endDelimiter)
int
getCacheSize()
String
getEndDelimiter()
String
getStartDelimiter()
String
getTemplatesPath()
String
getTemplatesSuffix()
Boolean
isReloadable()
HandlebarsModule.Config
reloadable(boolean reloadable)
HandlebarsModule.Config
templatesPath(String templatesPath)
HandlebarsModule.Config
templatesSuffix(String templatesSuffix)
-
-
-
Method Detail
-
getTemplatesPath
public String getTemplatesPath()
-
templatesPath
public HandlebarsModule.Config templatesPath(String templatesPath)
-
getTemplatesSuffix
public String getTemplatesSuffix()
-
templatesSuffix
public HandlebarsModule.Config templatesSuffix(String templatesSuffix)
-
getStartDelimiter
public String getStartDelimiter()
-
getEndDelimiter
public String getEndDelimiter()
-
delimiters
public HandlebarsModule.Config delimiters(String startDelimiter, String endDelimiter)
-
getCacheSize
public int getCacheSize()
-
cacheSize
public HandlebarsModule.Config cacheSize(int cacheSize)
-
isReloadable
public Boolean isReloadable()
-
reloadable
public HandlebarsModule.Config reloadable(boolean reloadable)
-
-