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 anAssociationand aBPMN edgebetween 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 getsresolvedto a flat map. Finally, the various method onIFlattenedAlignmentItemMapcan be used to create theBPMN shapes,BPMN edgesandassociations.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IWorkflowBpmnAssociationEdgeBuilderassociationDirection(de.xima.bpmn_model.api.element.bpmn.artifacts.AssociationDirection direction)Sets the direction of the association.IWorkflowBpmnAssociationEdgebuild()Creates anAssociationandBPMN edgebetween the configured source and target.IWorkflowBpmnAssociationEdgeBuilderclosestDiagonalConnectionToAnnotation(IAnnotatedNamedBpmnElementLayout<? extends de.xima.bpmn_model.api.element.bpmn.foundation.BaseElement<?>> layout)Sets the source of the association to theelementof 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 anAssociationandBPMN edgebetween 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 theelementof theBPMN element layout, and the target to itstext annotation. SeeclosestDiagonalConnectionfor further details.- Parameters:
layout- The layout of the BPMN element with an annotation.- Returns:
- This builder for chaining method calls.
-
-