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, 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)
public BpmnEdge createBpmnEdge(SequenceFlow sequenceFlow)
protected void setWaypoints(BpmnEdge edge)
protected BpmnPlane findBpmnPlane()
protected BpmnShape findBpmnShape(BaseElement node)
protected BpmnEdge findBpmnEdge(BaseElement sequenceFlow)
protected void resizeSubProcess(BpmnShape innerShape)
Copyright © 2018. All rights reserved.