Class ExpressionEvaluationContext


  • public class ExpressionEvaluationContext
    extends Object
    Simple almost-DTO used to contain all the parameters of expression evaluation. Designed to allow future compatible changes (addition of optional parameters).
    Author:
    semancik
    • Method Detail

      • getDefaultSource

        public Source<?,​?> getDefaultSource()
      • setDefaultSource

        public void setDefaultSource​(Source<?,​?> defaultSource)
      • setVariables

        public void setVariables​(VariablesMap variables)
      • isSkipEvaluationPlus

        public boolean isSkipEvaluationPlus()
      • setSkipEvaluationPlus

        public void setSkipEvaluationPlus​(boolean skipEvaluationPlus)
      • isSkipEvaluationMinus

        public boolean isSkipEvaluationMinus()
      • setSkipEvaluationMinus

        public void setSkipEvaluationMinus​(boolean skipEvaluationMinus)
      • setExpressionProfile

        public void setExpressionProfile​(ExpressionProfile expressionProfile)
      • setValuePolicySupplier

        public void setValuePolicySupplier​(ValuePolicySupplier valuePolicySupplier)
      • setExpressionFactory

        public void setExpressionFactory​(ExpressionFactory expressionFactory)
      • getMappingQName

        public QName getMappingQName()
      • setMappingQName

        public void setMappingQName​(QName mappingQName)
      • getLocalContextDescription

        public String getLocalContextDescription()
      • setLocalContextDescription

        public void setLocalContextDescription​(String localContextDescription)
      • getContextDescription

        public String getContextDescription()
      • getTask

        public Task getTask()
      • setAdditionalConvertor

        public void setAdditionalConvertor​(Function<Object,​Object> additionalConvertor)
        Allows converting the raw values, possibly of various types, into the type conforming to the definition. TODO: Shouldn't convertor go into makeExpression already? Is should not change for one expression like variables. This also causes troubles like
      • setVariableProducer

        public void setVariableProducer​(VariableProducer variableProducer)
      • hasDeltas

        public boolean hasDeltas()