Package io.quarkus.qute
Interface TemplateLocator
- All Superinterfaces:
WithPriority
Locates template sources. The locator with higher priority takes precedence.
Quarkus automatically register all CDI beans that implement this interface
with
EngineBuilder.addLocator(TemplateLocator).- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.quarkus.qute.WithPriority
DEFAULT_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionMust returnOptional.empty()if it's not possible to locate a template with the specified id.Methods inherited from interface io.quarkus.qute.WithPriority
getPriority
-
Method Details
-
locate
Must returnOptional.empty()if it's not possible to locate a template with the specified id.- Parameters:
id-- Returns:
- the template location for the given id
-