public class PackageSuppressor extends PropertySuppressionStrategy
.*
them all child packages will be suppressed.PropertySuppressionStrategy.Chain, PropertySuppressionStrategy.Default
DEFAULT
Constructor and Description |
---|
PackageSuppressor(String suppressedPackage)
Constructs a suppressor for packages.
|
public PackageSuppressor(String suppressedPackage)
suppressedPackage
- package name (for exact match)
or base package and .*
to suppress childrenpublic boolean suppressProperty(Class classContainingTheProperty, Class propertyType, String propertyName)
PropertySuppressionStrategy
suppressProperty
in class PropertySuppressionStrategy
classContainingTheProperty
- Class
giving the type of the bean containing the property propertyName
propertyType
- Class
giving the type of the property, not nullpropertyName
- the name of the property, not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.