org.apache.commons.betwixt.strategy
Class PropertySuppressionStrategy.Chain
java.lang.Object
org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Chain
- Enclosing class:
- PropertySuppressionStrategy
public static class PropertySuppressionStrategy.Chain
- extends PropertySuppressionStrategy
Implementation delegates to a list of strategies
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertySuppressionStrategy.Chain
public PropertySuppressionStrategy.Chain()
suppressProperty
public boolean suppressProperty(Class classContainingTheProperty,
Class propertyType,
String propertyName)
- Description copied from class:
PropertySuppressionStrategy
- Should the given property be suppressed?
- Specified by:
suppressProperty
in class PropertySuppressionStrategy
- Parameters:
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 null
- Returns:
- true when the given property should be suppressed
- See Also:
suppressProperty(Class, Class, String)
addStrategy
public void addStrategy(PropertySuppressionStrategy strategy)
- Adds a strategy to the list
- Parameters:
strategy
- PropertySuppressionStrategy
, not null
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.