Class ExpressionEnvironmentThreadLocalHolder

java.lang.Object
com.evolveum.midpoint.repo.common.expression.ExpressionEnvironmentThreadLocalHolder

public class ExpressionEnvironmentThreadLocalHolder extends Object
Holds ExpressionEnvironment (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 Details

    • ExpressionEnvironmentThreadLocalHolder

      public ExpressionEnvironmentThreadLocalHolder()
  • Method Details

    • 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()