Package io.quarkus.qute.deployment
Class TemplatePathBuildItem.Builder
java.lang.Object
io.quarkus.qute.deployment.TemplatePathBuildItem.Builder
- Enclosing class:
TemplatePathBuildItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Set the content of the template.extensionInfo(String info) Set the extension info for templates that are not backed by a file.Set the full path of the template for templates that are backed by a file.Set the path relative to the template root.priority(int priority) Set the priority of the template.Set the source path of the template.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
path
Set the path relative to the template root. The/is used as a path separator.The path must be unique, i.e. if there are multiple templates with the same path then the template analysis fails during build.
- Parameters:
path-- Returns:
- self
-
content
Set the content of the template.- Parameters:
content-- Returns:
- self
-
fullPath
Set the full path of the template for templates that are backed by a file.- Parameters:
fullPath-- Returns:
- self
-
source
Set the source path of the template.- Parameters:
source-- Returns:
- self
-
extensionInfo
Set the extension info for templates that are not backed by a file.- Parameters:
info-- Returns:
- self
-
priority
Set the priority of the template.- Parameters:
priority-- Returns:
- self
- See Also:
-
build
-