Class NativeImageResourcePatternsBuildItem.Builder
- Enclosing class:
- NativeImageResourcePatternsBuildItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
excludeGlob
(String glob) Add a glob pattern for matching resource paths that should not be added to the native image.excludeGlobs
(String... globs) Add an array of glob patterns for matching resource paths that should not be added to the native image.excludeGlobs
(Collection<String> globs) Add a collection of glob patterns for matching resource paths that should not be added to the native image.excludePattern
(String pattern) Add a regular expression for matching resource paths that should not be added to the native image.excludePatterns
(String... patterns) Add an array of regular expressions for matching resource paths that should not be added to the native image.excludePatterns
(Collection<String> patterns) Add a collection of regular expressions for matching resource paths that should not be added to the native image.includeGlob
(String glob) Add a glob pattern for matching resource paths that should be added to the native image.includeGlobs
(String... patterns) Add an array of glob patterns for matching resource paths that should be added to the native image.includeGlobs
(Collection<String> globs) Add a collection of glob patterns for matching resource paths that should be added to the native image.includePattern
(String pattern) Add a regular expression for matching resource paths that should be added to the native image.includePatterns
(String... patterns) Add an array of regular expressions for matching resource paths that should be added to the native image.includePatterns
(Collection<String> patterns) Add a collection of regular expressions for matching resource paths that should be added to the native image.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
excludeGlob
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.includes()
for the supported glob syntax.- Parameters:
glob
- the glob pattern to add to the list of patterns to exclude- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
excludeGlobs
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.includes()
for the supported glob syntax.- Parameters:
globs
- the glob patterns to add to the list of patterns to exclude- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
excludeGlobs
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.includes()
for the supported glob syntax.- Parameters:
globs
- the glob patterns to add to the list of patterns to exclude- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
excludePattern
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
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
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
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.includes()
for the supported glob syntax.- Parameters:
glob
- the glob pattern to add- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
includeGlobs
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.includes()
for the supported glob syntax.- Parameters:
globs
- the glob patterns to add- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
includeGlobs
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.includes()
for the supported glob syntax.- Parameters:
globs
- the glob patterns to add- Returns:
- this
NativeImageResourcePatternsBuildItem.Builder
-
includePattern
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
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
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
-