Class NativeImageResourcePatternsBuildItem.Builder
- java.lang.Object
-
- io.quarkus.deployment.builditem.nativeimage.NativeImageResourcePatternsBuildItem.Builder
-
- Enclosing class:
- NativeImageResourcePatternsBuildItem
public static class NativeImageResourcePatternsBuildItem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeImageResourcePatternsBuildItembuild()NativeImageResourcePatternsBuildItem.BuilderexcludeGlob(String glob)Add a glob pattern for matching resource paths that should not be added to the native image.NativeImageResourcePatternsBuildItem.BuilderexcludeGlobs(String... globs)Add an array of glob patterns for matching resource paths that should not be added to the native image.NativeImageResourcePatternsBuildItem.BuilderexcludeGlobs(Collection<String> globs)Add a collection of glob patterns for matching resource paths that should not be added to the native image.NativeImageResourcePatternsBuildItem.BuilderexcludePattern(String pattern)Add a regular expression for matching resource paths that should not be added to the native image.NativeImageResourcePatternsBuildItem.BuilderexcludePatterns(String... patterns)Add an array of regular expressions for matching resource paths that should not be added to the native image.NativeImageResourcePatternsBuildItem.BuilderexcludePatterns(Collection<String> patterns)Add a collection of regular expressions for matching resource paths that should not be added to the native image.NativeImageResourcePatternsBuildItem.BuilderincludeGlob(String glob)Add a glob pattern for matching resource paths that should be added to the native image.NativeImageResourcePatternsBuildItem.BuilderincludeGlobs(String... patterns)Add an array of glob patterns for matching resource paths that should be added to the native image.NativeImageResourcePatternsBuildItem.BuilderincludeGlobs(Collection<String> globs)Add a collection of glob patterns for matching resource paths that should be added to the native image.NativeImageResourcePatternsBuildItem.BuilderincludePattern(String pattern)Add a regular expression for matching resource paths that should be added to the native image.NativeImageResourcePatternsBuildItem.BuilderincludePatterns(String... patterns)Add an array of regular expressions for matching resource paths that should be added to the native image.NativeImageResourcePatternsBuildItem.BuilderincludePatterns(Collection<String> patterns)Add a collection of regular expressions for matching resource paths that should be added to the native image.
-
-
-
Method Detail
-
build
public NativeImageResourcePatternsBuildItem build()
-
excludeGlob
public NativeImageResourcePatternsBuildItem.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
NativeImageResourcePatternsBuildItem.Builder
-
excludeGlobs
public NativeImageResourcePatternsBuildItem.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
NativeImageResourcePatternsBuildItem.Builder
-
excludeGlobs
public NativeImageResourcePatternsBuildItem.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
NativeImageResourcePatternsBuildItem.Builder
-
excludePattern
public NativeImageResourcePatternsBuildItem.Builder excludePattern(String pattern)
Add a regular expression for matching resource paths that should not be added to the native image.Use slash (
/) as a path separator on all platforms. The pattern must not start with slash.- Parameters:
pattern- the regular expression to add to the list of patterns to exclude- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
excludePatterns
public NativeImageResourcePatternsBuildItem.Builder excludePatterns(Collection<String> patterns)
Add a collection of regular expressions for matching resource paths that should not be added to the native image.Use slash (
/) as a path separator on all platforms. The pattern must not start with slash.- Parameters:
patterns- the regular expressions to add to the list of patterns to exclude- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
excludePatterns
public NativeImageResourcePatternsBuildItem.Builder excludePatterns(String... patterns)
Add an array of regular expressions for matching resource paths that should not be added to the native image.Use slash (
/) as a path separator on all platforms. The pattern must not start with slash.- Parameters:
patterns- the regular expressions to add to the list of patterns to exclude- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
includeGlob
public NativeImageResourcePatternsBuildItem.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
NativeImageResourcePatternsBuildItem.Builder
-
includeGlobs
public NativeImageResourcePatternsBuildItem.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
NativeImageResourcePatternsBuildItem.Builder
-
includeGlobs
public NativeImageResourcePatternsBuildItem.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
NativeImageResourcePatternsBuildItem.Builder
-
includePattern
public NativeImageResourcePatternsBuildItem.Builder includePattern(String pattern)
Add a regular expression for matching resource paths that should be added to the native image.Use slash (
/) as a path separator on all platforms. The pattern must not start with slash.- Parameters:
pattern- the regular expression to add- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
includePatterns
public NativeImageResourcePatternsBuildItem.Builder includePatterns(Collection<String> patterns)
Add a collection of regular expressions for matching resource paths that should be added to the native image.Use slash (
/) as a path separator on all platforms. The patterns must not start with slash.- Parameters:
patterns- the regular expressions to add- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
includePatterns
public NativeImageResourcePatternsBuildItem.Builder includePatterns(String... patterns)
Add an array of regular expressions for matching resource paths that should be added to the native image.Use slash (
/) as a path separator on all platforms. The patterns must not start with slash.- Parameters:
patterns- the regular expressions to add- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
-