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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
applies(MappingContext<S,D> context)
Specifies whether the condition applies to thecontext
.
-
-
-
Method Detail
-
applies
boolean applies(MappingContext<S,D> context)
Specifies whether the condition applies to thecontext
.- Parameters:
context
- of current mapping process
-
-