S
- source typeD
- destination typepublic interface ConfigurableConditionExpression<S,D> extends ConfigurableProviderExpression<S,D>
Modifier and Type | Method and Description |
---|---|
ConfigurableProviderExpression<S,D> |
when(Condition<?,?> condition)
Uses
condition to determine the mapping should fire or skip |
with
using
map, skip, skip
ConfigurableProviderExpression<S,D> when(Condition<?,?> condition)
condition
to determine the mapping should fire or skip
when(condition).<String>map(Src::getCustomer, Dest::setCustomer)
with(ctx -> ctx.getSource() != null).<Customer>map(Src::getCustomer, Dest::setCustomer)
condition
- a condition to apply the mapping action should be invoked or notCopyright © 2011–2024. All rights reserved.