Interface ConditionalConverter<S,D>

Type Parameters:
S - source type
D - destination type
All Superinterfaces:
Converter<S,D>
All Known Implementing Classes:
StrongTypeConditionalConverter

public interface ConditionalConverter<S,D> extends Converter<S,D>
Conditionally converts matching source objects to instances of destination type D.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    match(Class<?> sourceType, Class<?> destinationType)
    Determines whether the converter matches and supports conversion from sourceType to destinationType.

    Methods inherited from interface org.modelmapper.Converter

    convert