Interface NormalizationProvider.RuntimeClasspathNormalization.MetaInf
- Enclosing interface:
NormalizationProvider.RuntimeClasspathNormalization
public static interface NormalizationProvider.RuntimeClasspathNormalization.MetaInf
A common location to store properties files is the
META-INF
directory.
Thus, this provides a shortcut for normalizing files matching META-INF/**/*.properties
.- Since:
- 1.15
-
Method Summary
Modifier and TypeMethodDescriptionaddIgnoredAttributes
(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files.addIgnoredAttributes
(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files.addIgnoredProperties
(String... ignoredProperties) Allows ignoring one or more properties.addIgnoredProperties
(List<String> ignoredProperties) Allows ignoring one or more properties.setIgnoreCompletely
(boolean ignoreCompletely) Allows ignoring all files in theMETA-INF
directories.setIgnoredAttributes
(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files.setIgnoredAttributes
(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files.setIgnoredProperties
(String... ignoredProperties) Allows ignoring one or more properties.setIgnoredProperties
(List<String> ignoredProperties) Allows ignoring one or more properties.setIgnoreManifest
(boolean ignoreManifest) Allows ignoring theMANIFEST
files completely.
-
Method Details
-
setIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredAttributes(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files. This operation will override any previous configuration.- Parameters:
ignoredAttributes
- the attributes to ignore- Since:
- 1.15
-
setIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredAttributes(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files. This operation will override any previous configuration.- Parameters:
ignoredAttributes
- the attributes to ignore- Since:
- 1.15
-
addIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf addIgnoredAttributes(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files. This operation is additive, i.e. it will add the ignored attributes to the previously configured attributes.- Parameters:
ignoredAttributes
- the attributes to ignore- Since:
- 1.15
-
addIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf addIgnoredAttributes(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFEST
files. This operation is additive, i.e. it will add the ignored attributes to the previously configured attributes.- Parameters:
ignoredAttributes
- the attributes to ignore- Since:
- 1.15
-
setIgnoredProperties
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredProperties(List<String> ignoredProperties) Allows ignoring one or more properties. This operation will override any previous configuration.- Parameters:
ignoredProperties
- the properties to ignore- Since:
- 1.15
-
setIgnoredProperties
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredProperties(String... ignoredProperties) Allows ignoring one or more properties. This operation will override any previous configuration.- Parameters:
ignoredProperties
- the properties to ignore- Since:
- 1.15
-
addIgnoredProperties
NormalizationProvider.RuntimeClasspathNormalization.MetaInf addIgnoredProperties(List<String> ignoredProperties) Allows ignoring one or more properties. This operation is additive, i.e. it will add the ignored properties to the previously configured properties.- Parameters:
ignoredProperties
- the properties to ignore- Since:
- 1.15
-
addIgnoredProperties
NormalizationProvider.RuntimeClasspathNormalization.MetaInf addIgnoredProperties(String... ignoredProperties) Allows ignoring one or more properties. This operation is additive, i.e. it will add the ignored properties to the previously configured properties.- Parameters:
ignoredProperties
- the properties to ignore- Since:
- 1.15
-
setIgnoreManifest
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoreManifest(boolean ignoreManifest) Allows ignoring theMANIFEST
files completely.- Parameters:
ignoreManifest
- whether to ignore theMANIFEST
files- Since:
- 1.15
-
setIgnoreCompletely
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoreCompletely(boolean ignoreCompletely) Allows ignoring all files in theMETA-INF
directories.- Parameters:
ignoreCompletely
- whether to completely ignore the files inMETA-INF
directories- Since:
- 1.15
-