Package com.axelor.workflow.exec
Class SubflowCallStack
java.lang.Object
com.axelor.workflow.exec.SubflowCallStack
Runtime guard against call recursion, for definitions loaded outside the save-time cycle check.
Runs are synchronous on one thread, so a thread-local stack is exact. Keyed on
(model,
jsonModel, name).-
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe key of an embedded body: its node in its definition, kept out of the named-workflow key space.static StringThe key of a named workflow; an empty segment stands for a nulljsonModel.static voidRemovekeyfrom the stack; clears the thread-local when the stack becomes empty.static booleanPushkey; false when it is already running, which is a cycle.
-
Method Details
-
key
The key of a named workflow; an empty segment stands for a nulljsonModel. -
inlineKey
The key of an embedded body: its node in its definition, kept out of the named-workflow key space. -
push
Pushkey; false when it is already running, which is a cycle. -
pop
Removekeyfrom the stack; clears the thread-local when the stack becomes empty.
-