protected static class CustomConversions.ConverterConfiguration extends Object
CustomConversions.StoreConversions
and custom converters
configured for
registration.Constructor and Description |
---|
ConverterConfiguration(CustomConversions.StoreConversions storeConversions,
List<?> userConverters)
Create a new ConverterConfiguration holding the given
CustomConversions.StoreConversions and user defined converters. |
ConverterConfiguration(CustomConversions.StoreConversions storeConversions,
List<?> userConverters,
Predicate<GenericConverter.ConvertiblePair> converterRegistrationFilter)
Create a new ConverterConfiguration holding the given
CustomConversions.StoreConversions and user defined converters as
well as a Collection of GenericConverter.ConvertiblePair for which to skip the registration of default converters. |
ConverterConfiguration(CustomConversions.StoreConversions storeConversions,
List<?> userConverters,
Predicate<GenericConverter.ConvertiblePair> converterRegistrationFilter,
PropertyValueConversions propertyValueConversions)
Create a new ConverterConfiguration holding the given
CustomConversions.StoreConversions and user defined converters as
well as a Collection of GenericConverter.ConvertiblePair for which to skip the registration of default converters. |
Modifier and Type | Method and Description |
---|---|
PropertyValueConversions |
getPropertyValueConversions() |
public ConverterConfiguration(CustomConversions.StoreConversions storeConversions, List<?> userConverters)
CustomConversions.StoreConversions
and user defined converters.storeConversions
- must not be null.userConverters
- must not be null use Collections.emptyList()
instead.public ConverterConfiguration(CustomConversions.StoreConversions storeConversions, List<?> userConverters, Predicate<GenericConverter.ConvertiblePair> converterRegistrationFilter)
CustomConversions.StoreConversions
and user defined converters as
well as a Collection
of GenericConverter.ConvertiblePair
for which to skip the registration of default converters.
storeConversions
- must not be null.userConverters
- must not be null use Collections.emptyList()
instead.converterRegistrationFilter
- must not be null..public ConverterConfiguration(CustomConversions.StoreConversions storeConversions, List<?> userConverters, Predicate<GenericConverter.ConvertiblePair> converterRegistrationFilter, @Nullable PropertyValueConversions propertyValueConversions)
CustomConversions.StoreConversions
and user defined converters as
well as a Collection
of GenericConverter.ConvertiblePair
for which to skip the registration of default converters.
storeConversions
- must not be null.userConverters
- must not be null use Collections.emptyList()
instead.converterRegistrationFilter
- must not be null.propertyValueConversions
- can be null.@Nullable public PropertyValueConversions getPropertyValueConversions()
PropertyValueConversions
if set, null otherwise.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.