public abstract class AbstractBaseElementBuilder<B extends AbstractBaseElementBuilder<B,E>,E extends BaseElement> extends AbstractBpmnModelElementBuilder<B,E>
Modifier and Type | Field and Description |
---|---|
static double |
SPACE |
element, modelInstance, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractBaseElementBuilder(BpmnModelInstance modelInstance,
E element,
Class<?> selfType) |
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
public static final double SPACE
protected AbstractBaseElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
protected <T extends BpmnModelElementInstance> T createInstance(Class<T> typeClass)
protected <T extends BaseElement> T createInstance(Class<T> typeClass, String identifier)
protected <T extends BpmnModelElementInstance> T createChild(Class<T> typeClass)
protected <T extends BaseElement> T createChild(Class<T> typeClass, String identifier)
protected <T extends BpmnModelElementInstance> T createChild(BpmnModelElementInstance parent, Class<T> typeClass)
protected <T extends BaseElement> T createChild(BpmnModelElementInstance parent, Class<T> typeClass, String identifier)
protected <T extends BpmnModelElementInstance> T createSibling(Class<T> typeClass)
protected <T extends BaseElement> T createSibling(Class<T> typeClass, String identifier)
protected <T extends BpmnModelElementInstance> T getCreateSingleChild(Class<T> typeClass)
protected <T extends BpmnModelElementInstance> T getCreateSingleChild(BpmnModelElementInstance parent, Class<T> typeClass)
protected <T extends BpmnModelElementInstance> T getCreateSingleExtensionElement(Class<T> typeClass)
protected MessageEventDefinition createMessageEventDefinition(String messageName)
protected MessageEventDefinition createEmptyMessageEventDefinition()
protected SignalEventDefinition createSignalEventDefinition(String signalName)
protected ErrorEventDefinition findErrorDefinitionForCode(String errorCode)
protected ErrorEventDefinition createEmptyErrorEventDefinition()
protected ErrorEventDefinition createErrorEventDefinition(String errorCode)
protected Escalation findEscalationForCode(String escalationCode)
protected EscalationEventDefinition createEscalationEventDefinition(String escalationCode)
protected CompensateEventDefinition createCompensateEventDefinition()
public B id(String identifier)
identifier
- the identifier to setpublic B addExtensionElement(BpmnModelElementInstance extensionElement)
extensionElement
- the extension element to addprotected void setCoordinates(BpmnShape shape)
@Deprecated public BpmnEdge createBpmnEdge(SequenceFlow sequenceFlow)
createEdge(BaseElement)
insteadpublic BpmnEdge createEdge(BaseElement baseElement)
protected void setWaypoints(BpmnEdge edge)
protected void setWaypointsWithSourceAndTarget(BpmnEdge edge, FlowNode edgeSource, FlowNode edgeTarget)
protected BpmnPlane findBpmnPlane()
protected BpmnShape findBpmnShape(BaseElement node)
protected BpmnEdge findBpmnEdge(BaseElement sequenceFlow)
protected void resizeSubProcess(BpmnShape innerShape)
Copyright © 2022. All rights reserved.