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 |
withusingmap, skip, skipConfigurableProviderExpression<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–2021. All rights reserved.