- Enclosing class:
- Templates
public static sealed interface Templates.PathInfo
Resolved 
JStachePath config by replacing JStachePath.UNSPECIFIED
 with default values.- Author:
- agentgt
- API Note
- This interface largely exists because TemplateInfodoes not expose the original prefix and suffix used.
- 
Method SummaryModifier and TypeMethodDescriptionprefix()Resolved prefix.resolveFullPath(String path) Calculates the expanded path and if the supplied path is empty then the path will be expanded based on the class name where package name are separated with a slash ("/") instead of a "." and is suffixed with ".mustache" if suffix isJStachePath.UNSPECIFIED.suffix()Resolved suffix.
- 
Method Details- 
prefixResolved prefix.- Returns:
- prefix maybe empty but will never be JStachePath.UNSPECIFIED.
 
- 
suffixResolved suffix.- Returns:
- suffix maybe empty but will never be JStachePath.UNSPECIFIED.
 
- 
resolveFullPathCalculates the expanded path and if the supplied path is empty then the path will be expanded based on the class name where package name are separated with a slash ("/") instead of a "." and is suffixed with ".mustache" if suffix isJStachePath.UNSPECIFIED.- Parameters:
- path- if the path is empty it will be calculated based on the modelClass package name and class name.
- Returns:
- fully resolved path with prefix and suffix.
 
 
-