Interface IWorkflowNodeBpmnModeler<Model>
-
- Type Parameters:
Model- Type of the properties model for the node. UseJSONObjectif you want to get the raw data and possibly perform serialization / deserialization yourself. SeegetDataModelClass.
- All Known Implementing Classes:
ABinarySelectionBpmnModeler,APostTestLoopBpmnModeler,APreTestLoopBpmnModeler,AServiceTaskBpmnModeler,FcBreakBpmnModeler,FcChangeFormAvailabilityBpmnModeler,FcChangeFormRecordChatActivenessBpmnModeler,FcChangeFormValueBpmnModeler,FcChangeStateBpmnModeler,FcCompressAsZipBpmnModeler,FcContinueBpmnModeler,FcCopyFormRecordBpmnModeler,FcCounterBpmnModeler,FcCreateTextFileBpmnModeler,FcDecodeBase64BpmnModeler,FcDeleteAttachmentBpmnModeler,FcDeleteFormRecordBpmnModeler,FcDoiInitBpmnModeler,FcDoUntilLoopBpmnModeler,FcEmailBpmnModeler,FcEmptyBpmnModeler,FcEncodeBase64BpmnModeler,FcExperimentBpmnModeler,FcExportFormRecordChatsBpmnModeler,FcExportToPersistenceBpmnModeler,FcExportToXmlBpmnModeler,FcFillPdfBpmnModeler,FcFillWordBpmnModeler,FcForEachLoopBpmnModeler,FcHttpRequestBpmnModeler,FcImportFormValueFromXmlBpmnModeler,FcLdapQueryBpmnModeler,FcLogEntryBpmnModeler,FcMoveFormRecordToInboxBpmnModeler,FcMultipleConditionBpmnModeler,FcProcessLogPdfBpmnModeler,FcProvideResourceBpmnModeler,FcQueueTaskBpmnModeler,FcRedirectBpmnModeler,FcRenewProcessIdBpmnModeler,FcReturnBpmnModeler,FcReturnFileBpmnModeler,FcSaveToFileSystemBpmnModeler,FcSaveToWebDavBpmnModeler,FcSendFormRecordMessageBpmnModeler,FcSequenceBpmnModeler,FcSetSavedFlagBpmnModeler,FcShowTemplateBpmnModeler,FcSqlStatementBpmnModeler,FcSwitchBpmnModeler,FcSwitchCaseBpmnModeler,FcSwitchDefaultBpmnModeler,FcThrowExceptionBpmnModeler,FcVoidBpmnModeler,FcWhileLoopBpmnModeler,FcWriteFormRecordAttrBpmnModeler
public interface IWorkflowNodeBpmnModeler<Model>Interface for modelingworkflow nodesin a BPMN 2.0 diagram. Used to create a BPMN diagram of the entire workflow.The modeler does not need to have any state and can be immutable. The modeler must be thread-safe.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
INodeHandler.getBpmnModeler()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmodelNode(IModelWorkflowNodeParams<Model> params, IWorkflowBpmnModelContext context)Models aWorkflowNodein the BPMN diagram.
-
-
-
Method Detail
-
modelNode
void modelNode(IModelWorkflowNodeParams<Model> params, IWorkflowBpmnModelContext context)
Models aWorkflowNodein the BPMN diagram. This method is called once for theroot nodeof eachWorkflowTaskin the workflow. Implementations for nodes that havechildrenshould callcontext.modelNode(node)on their child nodes if needed.The responsibility of each modeler is to access the provided
params.partBuilder()and add the appropriate data to that builder. That data then gets used to create aIStructuredBpmnModelPartfor thenode, see the class-level documentation ofIStructuredBpmnModelPartfor more info.When modelling a workflow node as BPMN, the usual approach is to create a nested tree of
alignment items, making use of thelayouter. This tree then getsresolvedto a flat map. Finally, the various method onIFlattenedAlignmentItemMapcan be used to create theBPMN shapes,BPMN edgesandsequence flows.- Parameters:
params- The parameters for the modeler, containing theWorkflowNodeto model and its deserialized custom properties model, as well as the part builder to fill with data.context- The context for creating the BPMN diagram, its lifecycle starts when the conversion (of the workflow to a BPMN diagram) starts and ends when the conversion ends. The context lets you access various helper methods such as thelayouter()orcolorizer, and also provides access to all global data such as alltriggersandnodesin the workflow.
-
-