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 void
modelEmptyNode(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context)
Models an empty node that does nothing upon execution.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.static void
modelProcessingChainTerminationRequest(IModelWorkflowNodeParams<?> params, IWorkflowBpmnModelContext context)
Models a request to terminate theprocessing chain
, as if areturn statement
had 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
modelNode
on the workflow node'schild
at the given index, then configures thepartBuilder
to match the child node's BPMN model.If the child node is missing, behaves as if
modelEmpty
were 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 statement
had been issued.- Parameters:
params
- The parameters for the modeling process, as provided by the workflow engine.context
- The current BPMN model context.
-
-