Class ExpressionEvaluationContext
java.lang.Object
com.evolveum.midpoint.repo.common.expression.ExpressionEvaluationContext
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 SummaryConstructorsConstructorDescriptionExpressionEvaluationContext(Collection<Source<?, ?>> sources, VariablesMap variables, String contextDescription, @NotNull Task task) 
- 
Method SummaryModifier and TypeMethodDescription@NotNull StringSource<?,?> @NotNull Collection<Source<?,?>> @NotNull TaskgetTask()booleanbooleanbooleanvoidsetAdditionalConvertor(Function<Object, Object> additionalConvertor) Allows converting the raw values, possibly of various types, into the type conforming to the definition.voidsetDefaultSource(Source<?, ?> defaultSource) voidsetExpressionEvaluatorProfile(ExpressionEvaluatorProfile expressionEvaluatorProfile) voidsetExpressionFactory(ExpressionFactory expressionFactory) voidsetExpressionProfile(ExpressionProfile expressionProfile) voidsetLocalContextDescription(String localContextDescription) voidsetMappingQName(QName mappingQName) voidsetSkipEvaluationMinus(boolean skipEvaluationMinus) voidsetSkipEvaluationPlus(boolean skipEvaluationPlus) voidsetTargetDefinitionBean(VariableBindingDefinitionType targetDefinitionBean) voidsetValueMetadataComputer(TransformationValueMetadataComputer valueMetadataComputer) voidsetValuePolicySupplier(ValuePolicySupplier valuePolicySupplier) voidsetVariableProducer(VariableProducer variableProducer) voidsetVariables(VariablesMap variables) toString()
- 
Constructor Details- 
ExpressionEvaluationContextpublic ExpressionEvaluationContext(Collection<Source<?, ?>> sources, VariablesMap variables, String contextDescription, @NotNull @NotNull Task task) 
 
- 
- 
Method Details- 
getSources
- 
getDefaultSource
- 
setDefaultSource
- 
getVariables
- 
setVariables
- 
isSkipEvaluationPluspublic boolean isSkipEvaluationPlus()
- 
setSkipEvaluationPluspublic void setSkipEvaluationPlus(boolean skipEvaluationPlus) 
- 
isSkipEvaluationMinuspublic boolean isSkipEvaluationMinus()
- 
setSkipEvaluationMinuspublic void setSkipEvaluationMinus(boolean skipEvaluationMinus) 
- 
getExpressionProfile
- 
setExpressionProfile
- 
setExpressionEvaluatorProfile
- 
getValuePolicySupplier
- 
setValuePolicySupplier
- 
getExpressionFactory
- 
setExpressionFactory
- 
getMappingQName
- 
setMappingQName
- 
getTargetDefinitionBean
- 
setTargetDefinitionBean
- 
getLocalContextDescription
- 
setLocalContextDescription
- 
getContextDescription
- 
getTask
- 
getAdditionalConvertor
- 
setAdditionalConvertorAllows 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
- 
setVariableProducer
- 
getValueMetadataComputer
- 
setValueMetadataComputer
- 
hasDeltaspublic boolean hasDeltas()
- 
shallowClone
- 
toString
 
-