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 Summary

    Modifier and Type
    Method
    Description
    evaluate(Element element, Object currentValue)
    Calculates value based on supplied model element
  • Method Details

    • evaluate

      @CheckForNull T evaluate(Element element, @CheckForNull 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