Class AStatefulWorkflowBpmnModeler.ANodeStatefulModeler<Model>
java.lang.Object
de.xima.fc.workflow.bpmn.AStatefulWorkflowBpmnModeler<WorkflowNode, IWorkflowNodeBpmnModelPartBuilder, IModelWorkflowNodeParams<Model>>
de.xima.fc.workflow.bpmn.AStatefulWorkflowBpmnModeler.ANodeStatefulModeler<Model>
- Type Parameters:
Model- The type of the custom parameters of the workflow node.
- Enclosing class:
AStatefulWorkflowBpmnModeler<Element, PartBuilder extends IStructuredBpmnModelPartBuilder<?>, Params extends IModelWorkflowItemParams<Element, PartBuilder>>
public abstract static class AStatefulWorkflowBpmnModeler.ANodeStatefulModeler<Model>
extends AStatefulWorkflowBpmnModeler<WorkflowNode, IWorkflowNodeBpmnModelPartBuilder, IModelWorkflowNodeParams<Model>>
- Since:
- 8.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class AStatefulWorkflowBpmnModeler
AStatefulWorkflowBpmnModeler.ANodeStatefulModeler<Model>, AStatefulWorkflowBpmnModeler.AProcessStatefulModeler, AStatefulWorkflowBpmnModeler.ATaskStatefulModeler, AStatefulWorkflowBpmnModeler.ATriggerStatefulModeler<Model> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IBoundMessageLocalizerThe localizer for the current workflow node.protected final ModelThe custom parameters of the workflow node, deserialized intoto thedata model classas provided by thenode handlerfor the node'stype. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedANodeStatefulModeler(IModelWorkflowNodeParams<Model> params, IWorkflowBpmnModelContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected WorkflowNodechildNode(int index) Returns the child node of theAStatefulWorkflowBpmnModeler.elementat the given index.protected List<WorkflowNode> childNodesExcept(int index) Returns all child nodes of theAStatefulWorkflowBpmnModeler.element, but excluding the element at the given index.Methods inherited from class AStatefulWorkflowBpmnModeler
addAssociations, addFlows, addShapes, configurePartBuilder, createLayoutItem, finishBpmnModel, modelWorkflowElementWithState
-
Field Details
-
localizer
The localizer for the current workflow node. Contains messages from the message bundle as provided by thegetResourceBundlemethod of thenode handlerfor the node'stype. -
model
The custom parameters of the workflow node, deserialized intoto thedata model classas provided by thenode handlerfor the node'stype.
-
-
Constructor Details
-
ANodeStatefulModeler
protected ANodeStatefulModeler(IModelWorkflowNodeParams<Model> params, IWorkflowBpmnModelContext context)
-
-
Method Details
-
childNode
Returns the child node of theAStatefulWorkflowBpmnModeler.elementat the given index.- Parameters:
index- The index of the child node to return.- Returns:
- The child node at the given index, or null if the index is out of bounds.
-
childNodesExcept
Returns all child nodes of theAStatefulWorkflowBpmnModeler.element, but excluding the element at the given index.- Parameters:
index- The index of the child node to exclude.- Returns:
- The child nodes with the node at the given index omitted.
-