Interface NormalizationProvider.RuntimeClasspathNormalization.MetaInf
-
- Enclosing interface:
- NormalizationProvider.RuntimeClasspathNormalization
public static interface NormalizationProvider.RuntimeClasspathNormalization.MetaInf
A common location to store properties files is theMETA-INF
directory. Thus, this provides a shortcut for normalizing files matchingMETA-INF/**/*.properties
.- Since:
- 1.15
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NormalizationProvider.RuntimeClasspathNormalization.MetaInf
addIgnoredAttributes(java.lang.String... ignoredAttributes)
Allows ignoring one or more attributes inMANIFEST
files.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
addIgnoredAttributes(java.util.List<java.lang.String> ignoredAttributes)
Allows ignoring one or more attributes inMANIFEST
files.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
addIgnoredProperties(java.lang.String... ignoredProperties)
Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
addIgnoredProperties(java.util.List<java.lang.String> ignoredProperties)
Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
setIgnoreCompletely(boolean ignoreCompletely)
Allows ignoring all files in theMETA-INF
directories.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
setIgnoredAttributes(java.lang.String... ignoredAttributes)
Allows ignoring one or more attributes inMANIFEST
files.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
setIgnoredAttributes(java.util.List<java.lang.String> ignoredAttributes)
Allows ignoring one or more attributes inMANIFEST
files.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
setIgnoredProperties(java.lang.String... ignoredProperties)
Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
setIgnoredProperties(java.util.List<java.lang.String> ignoredProperties)
Allows ignoring one or more properties.NormalizationProvider.RuntimeClasspathNormalization.MetaInf
setIgnoreManifest(boolean ignoreManifest)
Allows ignoring theMANIFEST
files completely.
-
-
-
Method Detail
-
setIgnoredAttributes
NormalizationProvider.RuntimeClasspathNormalization.MetaInf setIgnoredAttributes(java.util.List<java.lang.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(java.lang.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(java.util.List<java.lang.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(java.lang.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(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- Since:
- 1.15
-
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- Since:
- 1.15
-
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- Since:
- 1.15
-
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- 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
-
-