Class TemplateRootsBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.qute.deployment.TemplateRootsBuildItem
All Implemented Interfaces:
Iterable<String>

public final class TemplateRootsBuildItem extends io.quarkus.builder.item.SimpleBuildItem implements Iterable<String>
The set of template root paths.
  • Constructor Details

    • TemplateRootsBuildItem

      public TemplateRootsBuildItem(Set<String> paths)
  • Method Details

    • getPaths

      public Set<String> getPaths()
    • iterator

      public Iterator<String> iterator()
      Specified by:
      iterator in interface Iterable<String>
    • isRoot

      public boolean isRoot(Path path)
      The path must be relative to the resource root.
      Parameters:
      path -
      Returns:
      true is the given path represents a template root, false otherwise
    • maybeRoot

      public boolean maybeRoot(Path path)
      The path must be relative to the resource root.
      Parameters:
      path -
      Returns:
      true is the given path may represent a template root, false otherwise