Interface IWorkflowBpmnAssociationEdgeBuilder
-
- All Superinterfaces:
IWorkflowBpmnAssociationLikeEdgeBuilder<IWorkflowBpmnAssociationEdgeBuilder,de.xima.bpmn_model.api.element.bpmn.foundation.BaseElement<?>>
,IWorkflowBpmnConnectionEdgeBuilder<IWorkflowBpmnAssociationEdgeBuilder,de.xima.bpmn_model.api.element.bpmn.foundation.BaseElement<?>>
public interface IWorkflowBpmnAssociationEdgeBuilder extends IWorkflowBpmnAssociationLikeEdgeBuilder<IWorkflowBpmnAssociationEdgeBuilder,de.xima.bpmn_model.api.element.bpmn.foundation.BaseElement<?>>
Builder for creating anAssociation
and aBPMN edge
between a source and a target, used byIFlattenedAlignmentItemMap.association()
.When modelling a workflow element as BPMN, the usual approach is to create a nested tree of
alignment items
, making use of thelayouter
. This tree then getsresolved
to a flat map. Finally, the various method onIFlattenedAlignmentItemMap
can be used to create theBPMN shapes
,BPMN edges
andassociations
.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IWorkflowBpmnAssociationEdgeBuilder
associationDirection(de.xima.bpmn_model.api.element.bpmn.artifacts.AssociationDirection direction)
Sets the direction of the association.IWorkflowBpmnAssociationEdge
build()
Creates anAssociation
andBPMN edge
between the configured source and target.IWorkflowBpmnAssociationEdgeBuilder
closestDiagonalConnectionToAnnotation(IAnnotatedNamedBpmnElementLayout<? extends de.xima.bpmn_model.api.element.bpmn.foundation.BaseElement<?>> layout)
Sets the source of the association to theelement
of theBPMN element layout
, and the target to itstext annotation
.-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnAssociationLikeEdgeBuilder
closestDiagonalConnection
-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnConnectionEdgeBuilder
betweenPorts, betweenPorts, betweenPorts, betweenPorts, connectionStyle, firstAxis, fromEdge, fromEdge, fromInPort, fromInPort, fromOutPort, fromOutPort, fromPoint, fromPoint, fromPoint, fromPoint, fromPort, fromPort, toEdge, toEdge, toInPort, toInPort, toOutPort, toOutPort, toPoint, toPoint, toPoint, toPoint, toPort, toPort, viaInPort, viaOutPort, viaPoint, viaPoint, viaPoint
-
-
-
-
Method Detail
-
associationDirection
@CanIgnoreReturnValue IWorkflowBpmnAssociationEdgeBuilder associationDirection(de.xima.bpmn_model.api.element.bpmn.artifacts.AssociationDirection direction)
Sets the direction of the association. Defaults toNONE
.- Parameters:
direction
- The direction of the association.- Returns:
- This builder for chaining method calls.
-
build
@CanIgnoreReturnValue IWorkflowBpmnAssociationEdge build()
Creates anAssociation
andBPMN edge
between the configured source and target.- Returns:
- The created association and BPMN edge.
-
closestDiagonalConnectionToAnnotation
@CanIgnoreReturnValue IWorkflowBpmnAssociationEdgeBuilder closestDiagonalConnectionToAnnotation(IAnnotatedNamedBpmnElementLayout<? extends de.xima.bpmn_model.api.element.bpmn.foundation.BaseElement<?>> layout)
Sets the source of the association to theelement
of theBPMN element layout
, and the target to itstext annotation
. SeeclosestDiagonalConnection
for further details.- Parameters:
layout
- The layout of the BPMN element with an annotation.- Returns:
- This builder for chaining method calls.
-
-