public class PackageSuppressor extends PropertySuppressionStrategy
.*
them all child packages will be suppressed.PropertySuppressionStrategy.Chain, PropertySuppressionStrategy.DefaultDEFAULT| 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)
PropertySuppressionStrategysuppressProperty in class PropertySuppressionStrategyclassContainingTheProperty - Class giving the type of the bean containing the property propertyNamepropertyType - Class giving the type of the property, not nullpropertyName - the name of the property, not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.