public static class PropertySuppressionStrategy.Chain extends PropertySuppressionStrategy
PropertySuppressionStrategy.Chain, PropertySuppressionStrategy.Default
DEFAULT
Constructor and Description |
---|
PropertySuppressionStrategy.Chain() |
Modifier and Type | Method and Description |
---|---|
void |
addStrategy(PropertySuppressionStrategy strategy)
Adds a strategy to the list
|
boolean |
suppressProperty(Class classContainingTheProperty,
Class propertyType,
String propertyName)
Should the given property be suppressed?
|
public 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 nullsuppressProperty(Class, Class, String)
public void addStrategy(PropertySuppressionStrategy strategy)
strategy
- PropertySuppressionStrategy
, not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.