Class ExpressionEvaluationUtil
java.lang.Object
com.evolveum.midpoint.repo.common.expression.ExpressionEvaluationUtil
Methods _internal_ to the processes of expression evaluation.
Should not be called from outside.
Some of these methods are currently used only at a single place. However, this is just an intermediary state,
in order to consolidate the respective algorithms.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypedValue<?>
convertInput
(@NotNull String argName, @Nullable Object argValue, @NotNull FunctionConfigItem function) static <D extends ItemDefinition<?>>
DdetermineVariableOutputDefinition
(@NotNull FunctionConfigItem functionToExecute, @NotNull String paramName) static <V extends PrismValue,
D extends ItemDefinition<?>>
@Nullable ObjectgetSingleRealValue
(PrismValueDeltaSetTriple<V> outputTriple, D outputDefinition, String contextDesc) static <D extends ItemDefinition<?>>
DprepareFunctionOutputDefinition
(@NotNull FunctionConfigItem function)
-
Constructor Details
-
ExpressionEvaluationUtil
public ExpressionEvaluationUtil()
-
-
Method Details
-
convertInput
public static TypedValue<?> convertInput(@NotNull @NotNull String argName, @Nullable @Nullable Object argValue, @NotNull @NotNull FunctionConfigItem function) throws ConfigurationException - Throws:
ConfigurationException
-
prepareFunctionOutputDefinition
@NotNull public static <D extends ItemDefinition<?>> D prepareFunctionOutputDefinition(@NotNull @NotNull FunctionConfigItem function) -
determineVariableOutputDefinition
public static <D extends ItemDefinition<?>> D determineVariableOutputDefinition(@NotNull @NotNull FunctionConfigItem functionToExecute, @NotNull @NotNull String paramName) throws SchemaException, ConfigurationException -
getSingleRealValue
@Nullable public static <V extends PrismValue,D extends ItemDefinition<?>> @Nullable Object getSingleRealValue(PrismValueDeltaSetTriple<V> outputTriple, D outputDefinition, String contextDesc) throws ExpressionEvaluationException - Throws:
ExpressionEvaluationException
-