Class 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 Detail

      • ExpressionEnvironmentThreadLocalHolder

        public ExpressionEnvironmentThreadLocalHolder()
    • 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()
      • getCurrentTask

        public static Task getCurrentTask()