Class ModelExpressionEnvironment<F extends ObjectType,V extends PrismValue,D extends ItemDefinition<?>>
java.lang.Object
com.evolveum.midpoint.task.api.ExpressionEnvironment
com.evolveum.midpoint.model.common.expression.ModelExpressionEnvironment<F,V,D>
- Type Parameters:
F
- type of focus object ifModelContext
is involvedV
- type ofPrismValue
the mapping producesD
- type ofItemDefinition
of the item the mapping produces
public class ModelExpressionEnvironment<F extends ObjectType,V extends PrismValue,D extends ItemDefinition<?>>
extends ExpressionEnvironment
Describes an environment in which an
Expression
is evaluated.
Points to lens/projection context, and/or the mapping involved (if applicable).
Contains current task and operation result (if known - but it is usually so) - inheriting from ExpressionEnvironment
.
Usually contained in some kind of a thread-local holder.- Author:
- semancik
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
ModelExpressionEnvironment.ExpressionEnvironmentBuilder<F extends ObjectType,
V extends PrismValue, D extends ItemDefinition<?>> -
Constructor Summary
ConstructorDescriptionModelExpressionEnvironment
(ModelContext<F> lensContext, ModelProjectionContext projectionContext, Task currentTask, OperationResult currentResult) Consider usingModelExpressionEnvironment.ExpressionEnvironmentBuilder
instead.ModelExpressionEnvironment
(Task currentTask, OperationResult currentResult) -
Method Summary
Methods inherited from class com.evolveum.midpoint.task.api.ExpressionEnvironment
getCurrentResult, getCurrentTask
-
Constructor Details
-
ModelExpressionEnvironment
-
ModelExpressionEnvironment
public ModelExpressionEnvironment(ModelContext<F> lensContext, ModelProjectionContext projectionContext, Task currentTask, OperationResult currentResult) Consider usingModelExpressionEnvironment.ExpressionEnvironmentBuilder
instead.
-
-
Method Details
-
getLensContext
-
getProjectionContext
-
getMapping
-
toString
- Overrides:
toString
in classExpressionEnvironment
-