Class ScriptExpressionEvaluationContext
java.lang.Object
com.evolveum.midpoint.model.common.expression.script.ScriptExpressionEvaluationContext
The whole evaluation of a script:
ScriptExpressionEvaluatorType
compiled into ScriptExpression
and evaluated.
The "context" can be understood just like e.g. `LensContext` - the whole operation, including the script itself.- Author:
- semancik
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanupThreadLocal
(ScriptExpressionEvaluationContext oldContext) static @NotNull OperationResult
getTask()
static @NotNull Task
static @NotNull ScriptExpressionEvaluationContext
getTrace()
boolean
void
setAdditionalConvertor
(Function<Object, Object> additionalConvertor) void
setContextDescription
(String contextDescription) void
setEvaluateNew
(boolean evaluateNew) void
setExpressionProfile
(ExpressionProfile expressionProfile) void
setFunctionLibraryBindings
(Collection<FunctionLibraryBinding> functionLibraryBindings) void
setObjectResolver
(ObjectResolver objectResolver) void
setOutputDefinition
(ItemDefinition<?> outputDefinition) void
setResult
(OperationResult result) void
setScriptBean
(ScriptExpressionEvaluatorType scriptBean) void
setScriptExpression
(ScriptExpression scriptExpression) void
setScriptExpressionProfile
(ScriptLanguageExpressionProfile scriptExpressionProfile) void
setSuggestedReturnType
(ScriptExpressionReturnTypeType suggestedReturnType) void
void
void
setVariables
(VariablesMap variables)
-
Constructor Details
-
ScriptExpressionEvaluationContext
public ScriptExpressionEvaluationContext()
-
-
Method Details
-
setScriptBean
-
getVariables
-
setVariables
-
getOutputDefinition
-
setOutputDefinition
-
getAdditionalConvertor
-
setAdditionalConvertor
-
getSuggestedReturnType
-
setSuggestedReturnType
-
getObjectResolver
-
setObjectResolver
-
getFunctionLibraryBindings
-
setFunctionLibraryBindings
-
getExpressionProfile
-
setExpressionProfile
-
getScriptExpressionProfile
-
setScriptExpressionProfile
-
getScriptExpression
-
setScriptExpression
-
isEvaluateNew
public boolean isEvaluateNew() -
setEvaluateNew
public void setEvaluateNew(boolean evaluateNew) -
getContextDescription
-
setContextDescription
-
getTask
-
setTask
-
getResult
-
setResult
-
setupThreadLocal
-
cleanupThreadLocal
-
getThreadLocal
-
getThreadLocalRequired
-
getTaskRequired
-
getOperationResultRequired
-
getTrace
-
setTrace
-