public static class

PropertySuppressionStrategy.Chain

extends PropertySuppressionStrategy
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
     ↳ org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Chain

Class Overview

Implementation delegates to a list of strategies

Summary

[Expand]
Inherited Fields
From class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
Public Constructors
PropertySuppressionStrategy.Chain()
Public Methods
void addStrategy(PropertySuppressionStrategy strategy)
Adds a strategy to the list
boolean suppressProperty(Class classContainingTheProperty, Class propertyType, String propertyName)
Should the given property be suppressed?
[Expand]
Inherited Methods
From class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
From class java.lang.Object

Public Constructors

public PropertySuppressionStrategy.Chain ()

Public Methods

public void addStrategy (PropertySuppressionStrategy strategy)

Adds a strategy to the list

Parameters
strategy PropertySuppressionStrategy, not null

public boolean suppressProperty (Class classContainingTheProperty, Class propertyType, String propertyName)

Should the given property be suppressed?

Parameters
classContainingTheProperty Class giving the type of the bean containing the property propertyName
propertyType Class giving the type of the property, not null
propertyName the name of the property, not null
Returns
  • true when the given property should be suppressed