Interface NormalizationProvider.RuntimeClasspathNormalization
-
- Enclosing interface:
- NormalizationProvider
public static interface NormalizationProvider.RuntimeClasspathNormalizationAllows 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.21
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNormalizationProvider.RuntimeClasspathNormalization.MetaInfA common location to store properties files is theMETA-INFdirectory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NormalizationProvider.RuntimeClasspathNormalizationaddIgnoredFiles(java.lang.String... ignoredFiles)Configures the runtime classpath normalization to ignore files.NormalizationProvider.RuntimeClasspathNormalizationaddIgnoredFiles(java.util.List<java.lang.String> ignoredFiles)Configures the runtime classpath normalization to ignore files.NormalizationProvider.RuntimeClasspathNormalizationaddPropertiesNormalization(java.lang.String path, java.lang.String... ignoredProperties)Configures the runtime classpath normalization to ignore properties from specific property files.NormalizationProvider.RuntimeClasspathNormalizationaddPropertiesNormalization(java.lang.String path, java.util.List<java.lang.String> ignoredProperties)Configures the runtime classpath normalization to ignore properties from specific property files.NormalizationProvider.RuntimeClasspathNormalizationconfigureMetaInf(java.util.function.Consumer<NormalizationProvider.RuntimeClasspathNormalization.MetaInf> action)Allows configuring the normalization of files matchingMETA-INF/**/*.properties.NormalizationProvider.RuntimeClasspathNormalizationsetIgnoredFiles(java.lang.String... ignoredFiles)Configures the runtime classpath normalization to ignore files.NormalizationProvider.RuntimeClasspathNormalizationsetIgnoredFiles(java.util.List<java.lang.String> ignoredFiles)Configures the runtime classpath normalization to ignore files.
-
-
-
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
-
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
-
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
-
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
-
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 fileignoredProperties- the properties to ignore
-
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 fileignoredProperties- the properties to ignore
-
configureMetaInf
NormalizationProvider.RuntimeClasspathNormalization configureMetaInf(java.util.function.Consumer<NormalizationProvider.RuntimeClasspathNormalization.MetaInf> action)
Allows configuring the normalization of files matchingMETA-INF/**/*.properties.- Parameters:
action- an action to configure the normalization
-
-