|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.betwixt.strategy.PropertySuppressionStrategy
org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Chain
Implementation delegates to a list of strategies
| Nested Class Summary |
| Nested classes inherited from class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy |
PropertySuppressionStrategy.Chain, PropertySuppressionStrategy.Default |
| Field Summary |
| Fields inherited from class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy |
DEFAULT |
| Constructor Summary | |
PropertySuppressionStrategy.Chain()
|
|
| Method Summary | |
void |
addStrategy(PropertySuppressionStrategy strategy)
Adds a strategy to the list |
boolean |
suppressProperty(java.lang.Class classContainingTheProperty,
java.lang.Class propertyType,
java.lang.String propertyName)
Should the given property be suppressed? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertySuppressionStrategy.Chain()
| Method Detail |
public boolean suppressProperty(java.lang.Class classContainingTheProperty,
java.lang.Class propertyType,
java.lang.String propertyName)
PropertySuppressionStrategy
suppressProperty 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 null
suppressProperty(Class, Class, String)public void addStrategy(PropertySuppressionStrategy strategy)
strategy - PropertySuppressionStrategy, not null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||