Class TemplateSetBuildItem.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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. See NativeConfig.ResourcesConfig.includes for 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. See NativeConfig.ResourcesConfig.includes for 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. See NativeConfig.ResourcesConfig.includes for 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. See NativeConfig.ResourcesConfig.includes for 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. See NativeConfig.ResourcesConfig.includes for 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. See NativeConfig.ResourcesConfig.includes for the supported glob syntax.

        Parameters:
        globs - the glob patterns to add
        Returns:
        this TemplateSetBuildItem.Builder