@groovy.transform.CompileStatic interface TemplateResolver
Interface for resolving templates
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.net.URL |
resolveTemplate(java.lang.String path) Resolves the URL to a template using the given path |
|
abstract java.lang.Class<? extends groovy.text.Template> |
resolveTemplateClass(java.lang.String path) Resolves a template class for the path |
|
abstract java.lang.Class<? extends groovy.text.Template> |
resolveTemplateClass(java.lang.String packageName, java.lang.String path) Resolves a template class for the path |
Resolves the URL to a template using the given path
path
- The pathResolves a template class for the path
path
- The pathResolves a template class for the path
packageName
- the scope to search in (application or plugin name for example)path
- The path