Class ModelExpressionEnvironment<V extends PrismValue,D extends ItemDefinition<?>>
java.lang.Object
com.evolveum.midpoint.task.api.ExpressionEnvironment
com.evolveum.midpoint.model.common.expression.ModelExpressionEnvironment<V,D>
- Type Parameters:
V
- type ofPrismValue
the mapping producesD
- type ofItemDefinition
of the item the mapping produces
public class ModelExpressionEnvironment<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<V extends PrismValue,
D extends ItemDefinition<?>> static interface
ModelExpressionEnvironment.ExtraOptionsProvider<V extends PrismValue,
D extends ItemDefinition<?>> -
Constructor Summary
ConstructorDescriptionModelExpressionEnvironment
(ModelContext<?> 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<?> lensContext, ModelProjectionContext projectionContext, Task currentTask, OperationResult currentResult) Consider usingModelExpressionEnvironment.ExpressionEnvironmentBuilder
instead.
-
-
Method Details
-
getLensContext
-
getProjectionContext
-
getMapping
-
toString
- Overrides:
toString
in classExpressionEnvironment
-