Class TemplateSetBuildItem.Builder
- java.lang.Object
-
- io.quarkiverse.freemarker.deployment.TemplateSetBuildItem.Builder
-
- Enclosing class:
- TemplateSetBuildItem
public static class TemplateSetBuildItem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateSetBuildItem.BuilderbasePath(String basePath)TemplateSetBuildItembuild()TemplateSetBuildItem.BuilderexcludeGlob(String glob)Add a glob pattern for matching resource paths that should not be added to the native image.TemplateSetBuildItem.BuilderexcludeGlobs(String... globs)Add an array of glob patterns for matching resource paths that should not be added to the native image.TemplateSetBuildItem.BuilderexcludeGlobs(Collection<String> globs)Add a collection of glob patterns for matching resource paths that should not be added to the native image.TemplateSetBuildItem.BuilderincludeGlob(String glob)Add a glob pattern for matching resource paths that should be added to the native image.TemplateSetBuildItem.BuilderincludeGlobs(String... patterns)Add an array of glob patterns for matching resource paths that should be added to the native image.TemplateSetBuildItem.BuilderincludeGlobs(Collection<String> globs)Add a collection of glob patterns for matching resource paths that should be added to the native image.
-
-
-
Method Detail
-
build
public TemplateSetBuildItem build()
-
basePath
public TemplateSetBuildItem.Builder basePath(String basePath)
-
excludeGlob
public TemplateSetBuildItem.Builder excludeGlob(String glob)
Add a glob pattern for matching resource paths that should not be added to the native image.Use slash (
/) as a path separator on all platforms. Globs must not start with slash. SeeNativeConfig.ResourcesConfig.includesfor the supported glob syntax.- Parameters:
glob- the glob pattern to add to the list of patterns to exclude- Returns:
- this
TemplateSetBuildItem.Builder
-
excludeGlobs
public TemplateSetBuildItem.Builder excludeGlobs(Collection<String> globs)
Add a collection of glob patterns for matching resource paths that should not be added to the native image.Use slash (
/) as a path separator on all platforms. Globs must not start with slash. SeeNativeConfig.ResourcesConfig.includesfor the supported glob syntax.- Parameters:
globs- the glob patterns to add to the list of patterns to exclude- Returns:
- this
TemplateSetBuildItem.Builder
-
excludeGlobs
public TemplateSetBuildItem.Builder excludeGlobs(String... globs)
Add an array of glob patterns for matching resource paths that should not be added to the native image.Use slash (
/) as a path separator on all platforms. Globs must not start with slash. SeeNativeConfig.ResourcesConfig.includesfor the supported glob syntax.- Parameters:
globs- the glob patterns to add to the list of patterns to exclude- Returns:
- this
TemplateSetBuildItem.Builder
-
includeGlob
public TemplateSetBuildItem.Builder includeGlob(String glob)
Add a glob pattern for matching resource paths that should be added to the native image.Use slash (
/) as a path separator on all platforms. Globs must not start with slash. SeeNativeConfig.ResourcesConfig.includesfor the supported glob syntax.- Parameters:
glob- the glob pattern to add- Returns:
- this
TemplateSetBuildItem.Builder
-
includeGlobs
public TemplateSetBuildItem.Builder includeGlobs(Collection<String> globs)
Add a collection of glob patterns for matching resource paths that should be added to the native image.Use slash (
/) as a path separator on all platforms. Globs must not start with slash. SeeNativeConfig.ResourcesConfig.includesfor the supported glob syntax.- Parameters:
globs- the glob patterns to add- Returns:
- this
TemplateSetBuildItem.Builder
-
includeGlobs
public TemplateSetBuildItem.Builder includeGlobs(String... patterns)
Add an array of glob patterns for matching resource paths that should be added to the native image.Use slash (
/) as a path separator on all platforms. Globs must not start with slash. SeeNativeConfig.ResourcesConfig.includesfor the supported glob syntax.- Parameters:
globs- the glob patterns to add- Returns:
- this
TemplateSetBuildItem.Builder
-
-