Class ExpressionEvaluationContext
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.ExpressionEvaluationContext
-
public class ExpressionEvaluationContext extends Object
Simple DTO used to contain all the parameters of expression execution. Designed to allow future compatible changes (addition of optional parameters).- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description ExpressionEvaluationContext(Collection<Source<?,?>> sources, ExpressionVariables variables, String contextDescription, Task task)
-
Method Summary
-
-
-
Constructor Detail
-
ExpressionEvaluationContext
public ExpressionEvaluationContext(Collection<Source<?,?>> sources, ExpressionVariables variables, String contextDescription, Task task)
-
-
Method Detail
-
getSources
public Collection<Source<?,?>> getSources()
-
setSources
public void setSources(Collection<Source<?,?>> sources)
-
getDefaultSource
public Source<?,?> getDefaultSource()
-
setDefaultSource
public void setDefaultSource(Source<?,?> defaultSource)
-
getVariables
public ExpressionVariables getVariables()
-
setVariables
public void setVariables(ExpressionVariables 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)
-
getExpressionEvaluatorProfile
public ExpressionEvaluatorProfile getExpressionEvaluatorProfile()
-
setExpressionEvaluatorProfile
public void setExpressionEvaluatorProfile(ExpressionEvaluatorProfile expressionEvaluatorProfile)
-
getValuePolicyResolver
public ValuePolicyResolver getValuePolicyResolver()
-
setValuePolicyResolver
public void setValuePolicyResolver(ValuePolicyResolver valuePolicyResolver)
-
getExpressionFactory
public ExpressionFactory getExpressionFactory()
-
setExpressionFactory
public void setExpressionFactory(ExpressionFactory expressionFactory)
-
getDefaultTargetContext
public PrismObjectDefinition<?> getDefaultTargetContext()
-
setDefaultTargetContext
public void setDefaultTargetContext(PrismObjectDefinition<?> defaultTargetContext)
-
getRefinedObjectClassDefinition
public RefinedObjectClassDefinition getRefinedObjectClassDefinition()
-
setRefinedObjectClassDefinition
public void setRefinedObjectClassDefinition(RefinedObjectClassDefinition refinedObjectClassDefinition)
-
getMappingQName
public QName getMappingQName()
-
setMappingQName
public void setMappingQName(QName mappingQName)
-
getContextDescription
public String getContextDescription()
-
setContextDescription
public void setContextDescription(String contextDescription)
-
getTask
public Task getTask()
-
setTask
public void setTask(Task task)
-
setAdditionalConvertor
public void setAdditionalConvertor(Function<Object,Object> additionalConvertor)
-
getVariableProducer
public VariableProducer getVariableProducer()
-
setVariableProducer
public void setVariableProducer(VariableProducer variableProducer)
-
shallowClone
public ExpressionEvaluationContext shallowClone()
-
-