Class ModelExpressionThreadLocalHolder
- java.lang.Object
-
- com.evolveum.midpoint.model.common.expression.ModelExpressionThreadLocalHolder
-
public class ModelExpressionThreadLocalHolder extends Object
AccessesModelExpressionEnvironment
viaExpressionEnvironmentThreadLocalHolder
(containing e.g. lens context, projection context, mapping, and task) to be used from withing scripts and methods that are called from scripts. TODO Is the name (still) correct? The "thread local holder" is in a separate class now.- Author:
- Radovan Semancik
-
-
Constructor Summary
Constructors Constructor Description ModelExpressionThreadLocalHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <F extends ObjectType>
ModelContext<F>getLensContext()
static <F extends ObjectType>
@NotNull ModelContext<F>getLensContextRequired()
static <V extends PrismValue,D extends ItemDefinition<?>>
Mapping<V,D>getMapping()
static ModelProjectionContext
getProjectionContext()
-
-
-
Method Detail
-
getLensContext
public static <F extends ObjectType> ModelContext<F> getLensContext()
-
getLensContextRequired
@NotNull public static <F extends ObjectType> @NotNull ModelContext<F> getLensContextRequired()
-
getMapping
public static <V extends PrismValue,D extends ItemDefinition<?>> Mapping<V,D> getMapping()
-
getProjectionContext
public static ModelProjectionContext getProjectionContext()
-
-