Interface GeneratorRuleRegistrationFacade
-
- All Known Implementing Classes:
GeneratorTransformationRegistryImpl
public interface GeneratorRuleRegistrationFacade
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <S,T>
voidconfigure(Class<S> source, Class<T> target, Consumer<GeneratorRuleBuilder<S,T>> mapping)
Defines a new transformation from source to target.
-
-
-
Method Detail
-
configure
<S,T> void configure(Class<S> source, Class<T> target, Consumer<GeneratorRuleBuilder<S,T>> mapping)
Defines a new transformation from source to target.- Parameters:
source
- The source typetarget
- The target typemapping
- A callback that configures this transformation.- See Also:
how to configure the registration
-
-