Interface EvaluationValueConverterIfc

  • All Known Implementing Classes:
    DefaultEvaluationValueConverter

    public interface EvaluationValueConverterIfc
    Converter interface to be implemented by configurable evaluation value converters. Converts an arbitrary object to an EvaluationValue, using the specified configuration.
    • Method Detail

      • convertObject

        EvaluationValue convertObject​(java.lang.Object object,
                                      ExpressionConfiguration configuration)
        Called whenever an object has to be converted to an EvaluationValue.
        Parameters:
        object - The object holding the value.
        configuration - The configuration to use.
        Returns:
        The converted EvaluationValue.
        Throws:
        java.lang.IllegalArgumentException - if the object can't be converted.