Package de.xima.fc.workflow.bpmn
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 de.xima.fc.workflow.bpmn.AStatefulWorkflowBpmnModeler
AStatefulWorkflowBpmnModeler.ANodeStatefulModeler<Model>, AStatefulWorkflowBpmnModeler.AProcessStatefulModeler, AStatefulWorkflowBpmnModeler.ATaskStatefulModeler, AStatefulWorkflowBpmnModeler.ATriggerStatefulModeler<Model>
-
-
Field Summary
Fields Modifier and Type Field Description protected IBoundMessageLocalizer
localizer
The localizer for the current workflow node.protected Model
model
The custom parameters of the workflow node, deserialized intoto thedata model class
as provided by thenode handler
for the node'stype
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ANodeStatefulModeler(IModelWorkflowNodeParams<Model> params, IWorkflowBpmnModelContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkflowNode
childNode(int index)
Returns the child node of theAStatefulWorkflowBpmnModeler.element
at 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 de.xima.fc.workflow.bpmn.AStatefulWorkflowBpmnModeler
addAssociations, addFlows, addShapes, configurePartBuilder, createLayoutItem, finishBpmnModel, modelWorkflowElementWithState
-
-
-
-
Field Detail
-
localizer
protected final IBoundMessageLocalizer localizer
The localizer for the current workflow node. Contains messages from the message bundle as provided by thegetResourceBundle
method of thenode handler
for the node'stype
.
-
model
protected final Model model
The custom parameters of the workflow node, deserialized intoto thedata model class
as provided by thenode handler
for the node'stype
.
-
-
Constructor Detail
-
ANodeStatefulModeler
protected ANodeStatefulModeler(IModelWorkflowNodeParams<Model> params, IWorkflowBpmnModelContext context)
-
-
Method Detail
-
childNode
protected WorkflowNode childNode(int index)
Returns the child node of theAStatefulWorkflowBpmnModeler.element
at 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
protected List<WorkflowNode> childNodesExcept(int index)
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.
-
-