Package org.modelmapper
Interface Condition<S,D>
- Type Parameters:
S
- source typeD
- destination type
- All Known Implementing Classes:
AbstractCondition
public interface Condition<S,D>
Condition that must apply in order for mapping to occur.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
applies
(MappingContext<S, D> context) Specifies whether the condition applies to thecontext
.
-
Method Details
-
applies
Specifies whether the condition applies to thecontext
.- Parameters:
context
- of current mapping process
-