Package com.axelor.workflow.trigger
Class WorkflowDefinitionCapture
java.lang.Object
com.axelor.workflow.trigger.WorkflowDefinitionCapture
- All Implemented Interfaces:
PreUpdateEventListener
Remembers the XML a
MetaWorkflow row is about to lose. The web layer flushes new values
before the repository runs, so PRE_UPDATE's old state is the only place left to read the
previous graph that parked runs are on. Detection only.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanonPreUpdate(PreUpdateEvent event) static StringThe prior XML for this row, if this unit of work captured one; consumed as read, with leftovers from earlier units swept.
-
Constructor Details
-
WorkflowDefinitionCapture
public WorkflowDefinitionCapture()
-
-
Method Details
-
onPreUpdate
- Specified by:
onPreUpdatein interfacePreUpdateEventListener
-
take
The prior XML for this row, if this unit of work captured one; consumed as read, with leftovers from earlier units swept.
-