Package com.axelor.workflow.expression
Class WorkflowConditionEvaluator.Batch
java.lang.Object
com.axelor.workflow.expression.WorkflowConditionEvaluator.Batch
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
WorkflowConditionEvaluator
Answers many predicates in one sandbox realm; a fresh realm's first evaluation pays the JS
builtins' lazy setup.
Items in a batch share a realm that cannot be reset, so batch only work that already belongs together (one save event, one subflow's items, one claim), never across records, tenants or definitions. Not thread-safe.
-
Method Summary
-
Method Details
-
evaluate
-
evaluateTransition
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-