Package org.springframework.data.convert
Interface ConverterBuilder.WritingConverterBuilder<S,T>
- All Superinterfaces:
ConverterBuilder
,ConverterBuilder.WritingConverterAware
- Enclosing interface:
- ConverterBuilder
public static interface ConverterBuilder.WritingConverterBuilder<S,T>
extends ConverterBuilder, ConverterBuilder.WritingConverterAware
Interface to represent an intermediate setup step of
ConverterBuilder.ConverterAware
defining a writing converter first.- Since:
- 2.0
- Author:
- Oliver Gierke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.convert.ConverterBuilder
ConverterBuilder.ConverterAware, ConverterBuilder.ReadingConverterAware, ConverterBuilder.ReadingConverterBuilder<T,
S>, ConverterBuilder.WritingConverterAware, ConverterBuilder.WritingConverterBuilder<S, T> -
Method Summary
Modifier and TypeMethodDescriptionandReading
(Function<? super T, ? extends S> function) Creates a newConverterBuilder.ConverterAware
by registering the givenFunction
to add a write converter.Methods inherited from interface org.springframework.data.convert.ConverterBuilder
getConverters
Methods inherited from interface org.springframework.data.convert.ConverterBuilder.WritingConverterAware
getWritingConverter
-
Method Details
-
andReading
Creates a newConverterBuilder.ConverterAware
by registering the givenFunction
to add a write converter.- Parameters:
function
- must not be null.- Returns:
-