Class ExpressionEvaluationContext

java.lang.Object
com.evolveum.midpoint.repo.common.expression.ExpressionEvaluationContext

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

  • Method Details

    • getSources

      @NotNull public @NotNull Collection<Source<?,?>> getSources()
    • getDefaultSource

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

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

      public VariablesMap getVariables()
    • 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)
    • getExpressionProfile

      public ExpressionProfile getExpressionProfile()
    • setExpressionProfile

      public void setExpressionProfile(ExpressionProfile expressionProfile)
    • setExpressionEvaluatorProfile

      public void setExpressionEvaluatorProfile(ExpressionEvaluatorProfile expressionEvaluatorProfile)
    • getValuePolicySupplier

      public ValuePolicySupplier getValuePolicySupplier()
    • setValuePolicySupplier

      public void setValuePolicySupplier(ValuePolicySupplier valuePolicySupplier)
    • getExpressionFactory

      public ExpressionFactory getExpressionFactory()
    • setExpressionFactory

      public void setExpressionFactory(ExpressionFactory expressionFactory)
    • getMappingQName

      public QName getMappingQName()
    • setMappingQName

      public void setMappingQName(QName mappingQName)
    • getTargetDefinitionBean

      public VariableBindingDefinitionType getTargetDefinitionBean()
    • setTargetDefinitionBean

      public void setTargetDefinitionBean(VariableBindingDefinitionType targetDefinitionBean)
    • getLocalContextDescription

      public String getLocalContextDescription()
    • setLocalContextDescription

      public void setLocalContextDescription(String localContextDescription)
    • getContextDescription

      @NotNull public @NotNull String getContextDescription()
    • getTask

      @NotNull public @NotNull Task getTask()
    • getAdditionalConvertor

      public Function<Object,Object> getAdditionalConvertor()
    • 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
    • getVariableProducer

      public VariableProducer getVariableProducer()
    • setVariableProducer

      public void setVariableProducer(VariableProducer variableProducer)
    • getValueMetadataComputer

      public TransformationValueMetadataComputer getValueMetadataComputer()
    • setValueMetadataComputer

      public void setValueMetadataComputer(TransformationValueMetadataComputer valueMetadataComputer)
    • hasDeltas

      public boolean hasDeltas()
    • shallowClone

      public ExpressionEvaluationContext shallowClone()
    • toString

      public String toString()
      Overrides:
      toString in class Object