Interface Evaluator<T>

  • All Known Implementing Classes:
    BooleanEvaluator

    @OpenApiAll
    public interface Evaluator<T>
    Evaluates element and returns calculated value. Evaluation can be based on the current value
    • Method Detail

      • evaluate

        @CheckForNull
        T evaluate​(Element element,
                   @CheckForNull
                   java.lang.Object currentValue)
        Calculates value based on supplied model element
        Parameters:
        element - model element
        currentValue - currently existing value of the value that is being re-evaluated
        Returns:
        calculated value