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.21
-
Method Summary
Modifier and TypeMethodDescriptionaddIgnoredAttributes(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles.addIgnoredAttributes(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles.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-INFdirectories.setIgnoredAttributes(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles.setIgnoredAttributes(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles.setIgnoredProperties(String... ignoredProperties) Allows ignoring one or more properties.setIgnoredProperties(List<String> ignoredProperties) Allows ignoring one or more properties.setIgnoreManifest(boolean ignoreManifest) Allows ignoring theMANIFESTfiles completely.
-
Method Details
-
setIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredAttributes(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles. This operation will override any previous configuration.- Parameters:
ignoredAttributes- the attributes to ignore
-
setIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredAttributes(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles. This operation will override any previous configuration.- Parameters:
ignoredAttributes- the attributes to ignore
-
addIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf addIgnoredAttributes(List<String> ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles. This operation is additive, i.e. it will add the ignored attributes to the previously configured attributes.- Parameters:
ignoredAttributes- the attributes to ignore
-
addIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf addIgnoredAttributes(String... ignoredAttributes) Allows ignoring one or more attributes inMANIFESTfiles. This operation is additive, i.e. it will add the ignored attributes to the previously configured attributes.- Parameters:
ignoredAttributes- the attributes to ignore
-
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
-
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
-
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
-
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
-
setIgnoreManifest
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoreManifest(boolean ignoreManifest) Allows ignoring theMANIFESTfiles completely.- Parameters:
ignoreManifest- whether to ignore theMANIFESTfiles
-
setIgnoreCompletely
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoreCompletely(boolean ignoreCompletely) Allows ignoring all files in theMETA-INFdirectories.- Parameters:
ignoreCompletely- whether to completely ignore the files inMETA-INFdirectories
-