Class DbUnitAllowEmptyFieldsInterceptor
java.lang.Object
com.github.mjeanroy.dbunit.core.configuration.DbUnitAllowEmptyFieldsInterceptor
- All Implemented Interfaces:
DbUnitConfigInterceptor
An interceptor that can enable/disable the
"allowEmptyFields"
feature of DbUnit.- See Also:
-
DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS
-
Constructor Summary
ConstructorDescriptionCreate the interceptor, the feature is enabled by default.DbUnitAllowEmptyFieldsInterceptor
(boolean allowEmptyFields) Create the interceptor. -
Method Summary
-
Constructor Details
-
DbUnitAllowEmptyFieldsInterceptor
public DbUnitAllowEmptyFieldsInterceptor()Create the interceptor, the feature is enabled by default. -
DbUnitAllowEmptyFieldsInterceptor
public DbUnitAllowEmptyFieldsInterceptor(boolean allowEmptyFields) Create the interceptor.- Parameters:
allowEmptyFields
- Feature activation flag:true
to enable feature,false
otherwise.
-
-
Method Details
-
applyConfiguration
public void applyConfiguration(org.dbunit.database.DatabaseConfig config) Description copied from interface:DbUnitConfigInterceptor
Apply customization on the database configuration instance.- Specified by:
applyConfiguration
in interfaceDbUnitConfigInterceptor
- Parameters:
config
- The database configuration instance.
-
equals
-
hashCode
public int hashCode() -
toString
-