public static class ThymeleafLanguageDriverConfig.TemplateFileConfig.PathProviderConfig extends Object
| Constructor and Description |
|---|
PathProviderConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix()
Get a prefix for adding to template file path.
|
boolean |
isCacheEnabled()
Get whether cache a resolved template file path.
|
boolean |
isIncludesMapperNameWhenSeparateDirectory()
Get whether includes mapper name into file name when separate directory per mapper.
|
boolean |
isIncludesPackagePath()
Get whether includes package path part.
|
boolean |
isSeparateDirectoryPerMapper()
Get whether separate directory per mapper.
|
void |
setCacheEnabled(boolean cacheEnabled)
Set whether cache a resolved template file path.
|
void |
setIncludesMapperNameWhenSeparateDirectory(boolean includesMapperNameWhenSeparateDirectory)
Set whether includes mapper name into file name when separate directory per mapper.
|
void |
setIncludesPackagePath(boolean includesPackagePath)
Set whether includes package path part.
|
void |
setPrefix(String prefix)
Set the prefix for adding to template file path.
|
void |
setSeparateDirectoryPerMapper(boolean separateDirectoryPerMapper)
Set whether separate directory per mapper.
|
public String getPrefix()
Default is "".
public void setPrefix(String prefix)
prefix - The prefix for adding to template file pathpublic boolean isIncludesPackagePath()
Default is true.
truepublic void setIncludesPackagePath(boolean includesPackagePath)
includesPackagePath - If want to includes, set truepublic boolean isSeparateDirectoryPerMapper()
truepublic void setSeparateDirectoryPerMapper(boolean separateDirectoryPerMapper)
Default is true.
separateDirectoryPerMapper - If want to separate directory, set truepublic boolean isIncludesMapperNameWhenSeparateDirectory()
Default is true.
truepublic void setIncludesMapperNameWhenSeparateDirectory(boolean includesMapperNameWhenSeparateDirectory)
Default is true.
includesMapperNameWhenSeparateDirectory - If want to includes, set truepublic boolean isCacheEnabled()
Default is true.
truepublic void setCacheEnabled(boolean cacheEnabled)
cacheEnabled - If want to cache, set trueCopyright © 2018–2020 MyBatis.org. All rights reserved.