Interface NormalizationProvider.RuntimeClasspathNormalization.MetaInf
-
- Enclosing interface:
- NormalizationProvider.RuntimeClasspathNormalization
public static interface NormalizationProvider.RuntimeClasspathNormalization.MetaInfA common location to store properties files is theMETA-INFdirectory. Thus, this provides a shortcut for normalizing files matchingMETA-INF/**/*.properties.- Since:
- 1.21
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NormalizationProvider.RuntimeClasspathNormalization.MetaInfaddIgnoredAttributes(java.lang.String... ignoredAttributes)Allows ignoring one or more attributes inMANIFESTfiles.NormalizationProvider.RuntimeClasspathNormalization.MetaInfaddIgnoredAttributes(java.util.List<java.lang.String> ignoredAttributes)Allows ignoring one or more attributes inMANIFESTfiles.NormalizationProvider.RuntimeClasspathNormalization.MetaInfaddIgnoredProperties(java.lang.String... ignoredProperties)Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInfaddIgnoredProperties(java.util.List<java.lang.String> ignoredProperties)Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInfsetIgnoreCompletely(boolean ignoreCompletely)Allows ignoring all files in theMETA-INFdirectories.NormalizationProvider.RuntimeClasspathNormalization.MetaInfsetIgnoredAttributes(java.lang.String... ignoredAttributes)Allows ignoring one or more attributes inMANIFESTfiles.NormalizationProvider.RuntimeClasspathNormalization.MetaInfsetIgnoredAttributes(java.util.List<java.lang.String> ignoredAttributes)Allows ignoring one or more attributes inMANIFESTfiles.NormalizationProvider.RuntimeClasspathNormalization.MetaInfsetIgnoredProperties(java.lang.String... ignoredProperties)Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInfsetIgnoredProperties(java.util.List<java.lang.String> ignoredProperties)Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInfsetIgnoreManifest(boolean ignoreManifest)Allows ignoring theMANIFESTfiles completely.
-
-
-
Method Detail
-
setIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredAttributes(java.util.List<java.lang.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(java.lang.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(java.util.List<java.lang.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(java.lang.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(java.util.List<java.lang.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(java.lang.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(java.util.List<java.lang.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(java.lang.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
-
-