Class ExpressionEnvironmentThreadLocalHolder
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.ExpressionEnvironmentThreadLocalHolder
-
public class ExpressionEnvironmentThreadLocalHolder extends Object
HoldsExpressionEnvironment
(containing e.g. current task and operation result; or other items in the subclasses) to be used from withing scripts and methods that are called from scripts.- Author:
- Radovan Semancik
-
-
Constructor Summary
Constructors Constructor Description ExpressionEnvironmentThreadLocalHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationResult
getCurrentResult()
static Task
getCurrentTask()
static ExpressionEnvironment
getExpressionEnvironment()
static void
popExpressionEnvironment()
static void
pushExpressionEnvironment(ExpressionEnvironment env)
static void
pushExpressionEnvironment(Task task, OperationResult result)
Just a shortcut method.
-
-
-
Method Detail
-
pushExpressionEnvironment
public static void pushExpressionEnvironment(Task task, OperationResult result)
Just a shortcut method.
-
pushExpressionEnvironment
public static void pushExpressionEnvironment(ExpressionEnvironment env)
-
popExpressionEnvironment
public static void popExpressionEnvironment()
-
getExpressionEnvironment
public static ExpressionEnvironment getExpressionEnvironment()
-
getCurrentTask
public static Task getCurrentTask()
-
getCurrentResult
public static OperationResult getCurrentResult()
-
-