Package com.axelor.meta.schema.workflows
Class SubflowNode
java.lang.Object
com.axelor.meta.schema.workflows.AbstractWorkflowNode
com.axelor.meta.schema.workflows.AbstractCallNode
com.axelor.meta.schema.workflows.SubflowNode
- All Implemented Interfaces:
WorkflowNode
Runs the graph written inside it, in the caller's run: its nodes are its children. The graph has
no identity of its own; it is deployed and revised with its caller, and a run parked inside stays
on the caller's revision. Its
<start> takes no trigger, only when as a
per-element guard, and model checks the selected elements when written. It may not
contain another subflow. Contrast CallNode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis node as a workflow, so the compiler and validator recurse into it; built on demand, never stored.getItems()getModel()voidsetItems(List<WorkflowNode> items) voidsetJsonModel(String jsonModel) voidtype()The element name (start,script, ...), matching the@JsonSubTypesnames.Methods inherited from class com.axelor.meta.schema.workflows.AbstractCallNode
getBatchSize, getEach, getFilter, getMaxSize, getNext, getRecord, setBatchSize, setEach, setFilter, setMaxSize, setNext, setRecordMethods inherited from class com.axelor.meta.schema.workflows.AbstractWorkflowNode
getDescription, getId, getTitle, setDescription, setId, setTitle
-
Constructor Details
-
SubflowNode
public SubflowNode()
-
-
Method Details
-
type
Description copied from interface:WorkflowNodeThe element name (start,script, ...), matching the@JsonSubTypesnames. NotgetType(), so bean scanning ignores it. -
getModel
-
setModel
-
getJsonModel
-
setJsonModel
-
getItems
-
setItems
-
asWorkflow
This node as a workflow, so the compiler and validator recurse into it; built on demand, never stored.
-