Interface NormalizationProvider.RuntimeClasspathNormalization

  • Enclosing interface:
    NormalizationProvider

    public static interface NormalizationProvider.RuntimeClasspathNormalization
    Allows configuring the runtime classpath normalization.

    Supports ANT-style patterns:

         * matches zero or more characters
         ? matches one character
         ** matches zero or more characters across directory levels
     
    Since:
    1.15
    • Method Detail

      • setIgnoredFiles

        NormalizationProvider.RuntimeClasspathNormalization setIgnoredFiles​(java.util.List<java.lang.String> ignoredFiles)
        Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation will override any previous configuration.
        Parameters:
        ignoredFiles - the files to ignore
        Since:
        1.15
      • setIgnoredFiles

        NormalizationProvider.RuntimeClasspathNormalization setIgnoredFiles​(java.lang.String... ignoredFiles)
        Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation will override any previous configuration.
        Parameters:
        ignoredFiles - the files to ignore
        Since:
        1.15
      • addIgnoredFiles

        NormalizationProvider.RuntimeClasspathNormalization addIgnoredFiles​(java.util.List<java.lang.String> ignoredFiles)
        Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation is additive, i.e. it will add the ignored files to the previously configured files including the corresponding configuration in POM.
        Parameters:
        ignoredFiles - the files to ignore
        Since:
        1.15
      • addIgnoredFiles

        NormalizationProvider.RuntimeClasspathNormalization addIgnoredFiles​(java.lang.String... ignoredFiles)
        Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation is additive, i.e. it will add the ignored files to the previously configured files.
        Parameters:
        ignoredFiles - the files to ignore
        Since:
        1.15
      • addPropertiesNormalization

        NormalizationProvider.RuntimeClasspathNormalization addPropertiesNormalization​(java.lang.String path,
                                                                                       java.util.List<java.lang.String> ignoredProperties)
        Configures the runtime classpath normalization to ignore properties from specific property files. ANT-style patterns can be used to match relevant property files.
        Parameters:
        path - the path of the properties file
        ignoredProperties - the properties to ignore
        Since:
        1.15
      • addPropertiesNormalization

        NormalizationProvider.RuntimeClasspathNormalization addPropertiesNormalization​(java.lang.String path,
                                                                                       java.lang.String... ignoredProperties)
        Configures the runtime classpath normalization to ignore properties from specific property files. ANT-style patterns can be used to match relevant property files.
        Parameters:
        path - the path of the properties file
        ignoredProperties - the properties to ignore
        Since:
        1.15