Package de.xima.fc.common.workflow.bpmn
Class WorkflowBpmnAlignmentItems
- java.lang.Object
-
- de.xima.fc.common.workflow.bpmn.WorkflowBpmnAlignmentItems
-
public final class WorkflowBpmnAlignmentItems extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowBpmnAlignmentItemBuilder
alignmentItemBuilder()
Gets a builder for configuring aIWorkflowBpmnAlignmentItem
.static <V,C extends IWorkflowBpmnAlignmentItem<?,?>>
IWorkflowBpmnAlignmentItem<V,C>emptyAlignmentItem()
Creates an empty alignment item with no in / out ports and an empty bounding box.static <V,C extends IWorkflowBpmnAlignmentItem<?,?>>
IWorkflowBpmnAlignmentItem<V,C>emptyPassThroughItem(ECardinalDirection2D direction)
Creates an empty alignment item with an empty bounding box that passes through the control flow from the in port to the out port.static <Value> IWorkflowBpmnAlignmentItem<Value,?>
emptyPassThroughItem(Value value, ECardinalDirection2D direction)
-
-
-
Method Detail
-
alignmentItemBuilder
public static WorkflowBpmnAlignmentItemBuilder alignmentItemBuilder()
Gets a builder for configuring aIWorkflowBpmnAlignmentItem
.- Returns:
- The builder for configuring a workflow BPMN alignment item.
-
emptyAlignmentItem
public static <V,C extends IWorkflowBpmnAlignmentItem<?,?>> IWorkflowBpmnAlignmentItem<V,C> emptyAlignmentItem()
Creates an empty alignment item with no in / out ports and an empty bounding box.- Type Parameters:
V
- The type of the value.C
- The type of the children.- Returns:
- The empty alignment item.
-
emptyPassThroughItem
public static <V,C extends IWorkflowBpmnAlignmentItem<?,?>> IWorkflowBpmnAlignmentItem<V,C> emptyPassThroughItem(ECardinalDirection2D direction)
Creates an empty alignment item with an empty bounding box that passes through the control flow from the in port to the out port. Both ports are located at 0.- Type Parameters:
V
- The type of the value.C
- The type of the children.- Parameters:
direction
- The direction of the out port, seeportDirection
.- Returns:
- The empty alignment item.
-
emptyPassThroughItem
public static <Value> IWorkflowBpmnAlignmentItem<Value,?> emptyPassThroughItem(Value value, ECardinalDirection2D direction)
-
-