Package io.quarkus.qute.deployment
Class TemplatePathBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.qute.deployment.TemplatePathBuildItem
-
public final class TemplatePathBuildItem extends io.quarkus.builder.item.MultiBuildItemRepresents a template path.
-
-
Constructor Summary
Constructors Constructor Description TemplatePathBuildItem(String path, Path fullPath, String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()PathgetFullPath()Uses the system-dependent path separator.StringgetPath()Uses the/path separator.booleanisRegular()booleanisTag()
-
-
-
Field Detail
-
TAGS
static final String TAGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPath
public String getPath()
Uses the/path separator.- Returns:
- the path relative to the template root
-
getFullPath
public Path getFullPath()
Uses the system-dependent path separator.- Returns:
- the full path of the template
-
isTag
public boolean isTag()
- Returns:
trueif it represents a user tag,falseotherwise
-
isRegular
public boolean isRegular()
-
getContent
public String getContent()
-
-