Class CommonWorkflowBpmnModelling
- java.lang.Object
-
- de.xima.fc.workflow.designer.bpmn.CommonWorkflowBpmnModelling
-
public final class CommonWorkflowBpmnModelling extends Object
Internal helper that provides various algorithms for modeling common scenarios in a BPMN model created from a formcycle workflow. Intended as helper methods for other specific modelers. Internal for now, some parts of these might be exposed in the future (via the IWorkflowBpmnModelContext interface).- Since:
- 8.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmodelEmptyNode(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context)Models an empty node that does nothing upon execution.static voidmodelPassthroughToChildAt(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context, int childIndex)Models a node that simply passes through to one of its child nodes upon execution, without doing anything else.static voidmodelProcessingChainTerminationRequest(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context)Models a request to terminate theprocessing chain, as if areturn statementhad been issued.
-
-
-
Method Detail
-
modelEmptyNode
public static void modelEmptyNode(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context)
Models an empty node that does nothing upon execution. It has a size of 0x0 and an in and out port at 0.- Parameters:
params- The parameters for the modeling process, as provided by the workflow engine.context- The current BPMN model context.
-
modelPassthroughToChildAt
public static void modelPassthroughToChildAt(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context, int childIndex)
Models a node that simply passes through to one of its child nodes upon execution, without doing anything else.Calls
modelNodeon the workflow node'schildat the given index, then configures thepartBuilderto match the child node's BPMN model.If the child node is missing, behaves as if
modelEmptywere used.- Parameters:
params- The parameters for the modeling process, as provided by the workflow engine.context- The current BPMN model context.childIndex- The index of the child node to model.
-
modelProcessingChainTerminationRequest
public static void modelProcessingChainTerminationRequest(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context)
Models a request to terminate theprocessing chain, as if areturn statementhad been issued.- Parameters:
params- The parameters for the modeling process, as provided by the workflow engine.context- The current BPMN model context.
-
-