Interface TargetRule

  • All Known Implementing Classes:
    Rule, TypeRule

    public interface TargetRule
    Interface for custom conversion rules.
    • Method Detail

      • getFunction

        ConverterFunction getFunction()
        The function to perform the conversion.
        Returns:
        The function.
      • getTargetType

        java.lang.reflect.Type getTargetType()
        The target type of this rule. The conversion function is invoked for each conversion to the target type.
        Returns:
        The target type.