Interface EntityTypeEvaluator

  • All Implemented Interfaces:

    
    public interface EntityTypeEvaluator
    
                        

    Evaluate a text for the specified entity.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract EvaluationResult evaluate(EntityCallContextForEntity context, String text) Evaluates a text from the given entity context.
      ValueDescriptor merge(EntityCallContextForEntity context, List<ValueDescriptor> values) Merge two or more ValueDescriptor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • evaluate

         abstract EvaluationResult evaluate(EntityCallContextForEntity context, String text)

        Evaluates a text from the given entity context.

        Parameters:
        context - to know the entity to evaluate
        text - the text to evaluate
        Returns:

        the evaluation result - with null EvaluationResult.value if no value found

      • merge

         ValueDescriptor merge(EntityCallContextForEntity context, List<ValueDescriptor> values)

        Merge two or more ValueDescriptor. Returns null if the merge is not applicable.