Package org.mapstruct.extensions.spring
Annotation Type ExternalConversion
-
@Target(TYPE) @Retention(SOURCE) public @interface ExternalConversion
Allows the specification of a conversion that is available via theConversionService
, but is not declared as a MapStruct mapper within the scope of theSpringMapperConfig
.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>
sourceType
java.lang.Class<?>
targetType
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
adapterMethodName
-