Class NativeImageResourcePatternsBuildItem.Builder
- Enclosing class:
NativeImageResourcePatternsBuildItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()excludeGlob(String glob) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.excludeGlobs(String... globs) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.excludeGlobs(Collection<String> globs) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.excludePattern(String pattern) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.excludePatterns(String... patterns) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.excludePatterns(Collection<String> patterns) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.includeGlob(String glob) Add a glob pattern for matching resource paths that should be added to the native image.includeGlobs(String... globs) 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) Deprecated, for removal: This API element is subject to removal in a future version.Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.includePatterns(String... patterns) Deprecated, for removal: This API element is subject to removal in a future version.Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.includePatterns(Collection<String> patterns) Deprecated, for removal: This API element is subject to removal in a future version.Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
excludeGlob
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder excludeGlob(String glob) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder excludeGlobs(Collection<String> globs) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder excludeGlobs(String... globs) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder excludePattern(String pattern) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder excludePatterns(Collection<String> patterns) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder excludePatterns(String... patterns) Deprecated, for removal: This API element is subject to removal in a future version.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder includePattern(String pattern) Deprecated, for removal: This API element is subject to removal in a future version.Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder includePatterns(Collection<String> patterns) Deprecated, for removal: This API element is subject to removal in a future version.Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
@Deprecated(since="3.29", forRemoval=true) public NativeImageResourcePatternsBuildItem.Builder includePatterns(String... patterns) Deprecated, for removal: This API element is subject to removal in a future version.Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)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
-