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.MultiBuildItem
Represents a template path.
  • Field Details

  • Constructor Details

    • TemplatePathBuildItem

      public TemplatePathBuildItem(String path, Path fullPath, String content)
  • Method Details

    • 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:
      true if it represents a user tag, false otherwise
    • isRegular

      public boolean isRegular()
    • getContent

      public String getContent()