Class AbstractBaseElementBuilder<B extends AbstractBaseElementBuilder<B,E>,E extends BaseElement>
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
- Direct Known Subclasses:
AbstractFlowElementBuilder,AbstractMultiInstanceLoopCharacteristicsBuilder,AbstractRootElementBuilder
public abstract class AbstractBaseElementBuilder<B extends AbstractBaseElementBuilder<B,E>,E extends BaseElement>
extends AbstractBpmnModelElementBuilder<B,E>
- Author:
- Sebastian Menski
-
Field Summary
FieldsFields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBaseElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionaddExtensionElement(BpmnModelElementInstance extensionElement) Add an extension element to the element.createBpmnEdge(SequenceFlow sequenceFlow) Deprecated.createBpmnShape(FlowNode node) protected <T extends BpmnModelElementInstance>
TcreateChild(Class<T> typeClass) protected <T extends BaseElement>
TcreateChild(Class<T> typeClass, String identifier) protected <T extends BpmnModelElementInstance>
TcreateChild(BpmnModelElementInstance parent, Class<T> typeClass) protected <T extends BaseElement>
TcreateChild(BpmnModelElementInstance parent, Class<T> typeClass, String identifier) protected CompensateEventDefinitioncreateEdge(BaseElement baseElement) protected ErrorEventDefinitionprotected MessageEventDefinitionprotected ErrorEventDefinitioncreateErrorEventDefinition(String errorCode) protected ErrorEventDefinitioncreateErrorEventDefinition(String errorCode, String errorMessage) protected EscalationEventDefinitioncreateEscalationEventDefinition(String escalationCode) protected <T extends BpmnModelElementInstance>
TcreateInstance(Class<T> typeClass) protected <T extends BaseElement>
TcreateInstance(Class<T> typeClass, String identifier) protected MessageEventDefinitioncreateMessageEventDefinition(String messageName) protected <T extends BpmnModelElementInstance>
TcreateSibling(Class<T> typeClass) protected <T extends BaseElement>
TcreateSibling(Class<T> typeClass, String identifier) protected SignalEventDefinitioncreateSignalEventDefinition(String signalName) protected TimerEventDefinitioncreateTimeCycle(String timerCycle) protected TimerEventDefinitioncreateTimeDate(String timerDate) protected TimerEventDefinitioncreateTimeDuration(String timerDuration) documentation(String documentation) Sets the documentation of the element.protected BpmnEdgefindBpmnEdge(BaseElement sequenceFlow) protected BpmnPlaneprotected BpmnShapefindBpmnShape(BaseElement node) protected ErrorEventDefinitionfindErrorDefinitionForCode(String errorCode) protected ErrorfindErrorForNameAndCode(String errorCode) protected ErrorfindErrorForNameAndCode(String errorCode, String errorMessage) protected EscalationfindEscalationForCode(String escalationCode) protected MessagefindMessageForName(String messageName) protected SignalfindSignalForName(String signalName) protected <T extends BpmnModelElementInstance>
TgetCreateSingleChild(Class<T> typeClass) protected <T extends BpmnModelElementInstance>
TgetCreateSingleChild(BpmnModelElementInstance parent, Class<T> typeClass) protected <T extends BpmnModelElementInstance>
TgetCreateSingleExtensionElement(Class<T> typeClass) Sets the identifier of the element.protected voidresizeSubProcess(BpmnShape innerShape) protected voidsetCoordinates(BpmnShape shape) protected voidsetWaypoints(BpmnEdge edge) protected voidsetWaypointsWithSourceAndTarget(BpmnEdge edge, FlowNode edgeSource, FlowNode edgeTarget) Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Field Details
-
SPACE
public static final double SPACE- See Also:
-
-
Constructor Details
-
AbstractBaseElementBuilder
-
-
Method Details
-
createInstance
-
createInstance
-
createChild
-
createChild
-
createChild
protected <T extends BpmnModelElementInstance> T createChild(BpmnModelElementInstance parent, Class<T> typeClass) -
createChild
protected <T extends BaseElement> T createChild(BpmnModelElementInstance parent, Class<T> typeClass, String identifier) -
createSibling
-
createSibling
-
getCreateSingleChild
-
getCreateSingleChild
protected <T extends BpmnModelElementInstance> T getCreateSingleChild(BpmnModelElementInstance parent, Class<T> typeClass) -
getCreateSingleExtensionElement
protected <T extends BpmnModelElementInstance> T getCreateSingleExtensionElement(Class<T> typeClass) -
findMessageForName
-
createMessageEventDefinition
-
createEmptyMessageEventDefinition
-
findSignalForName
-
createSignalEventDefinition
-
findErrorDefinitionForCode
-
findErrorForNameAndCode
-
findErrorForNameAndCode
-
createEmptyErrorEventDefinition
-
createErrorEventDefinition
-
createErrorEventDefinition
-
findEscalationForCode
-
createEscalationEventDefinition
-
createCompensateEventDefinition
-
id
Sets the identifier of the element.- Parameters:
identifier- the identifier to set- Returns:
- the builder object
-
documentation
Sets the documentation of the element.- Parameters:
documentation- the documentation to set- Returns:
- the builder object
-
addExtensionElement
Add an extension element to the element.- Parameters:
extensionElement- the extension element to add- Returns:
- the builder object
-
createBpmnShape
-
setCoordinates
-
createBpmnEdge
Deprecated.usecreateEdge(BaseElement)instead -
createEdge
-
setWaypoints
-
setWaypointsWithSourceAndTarget
-
findBpmnPlane
-
findBpmnShape
-
findBpmnEdge
-
resizeSubProcess
-
createTimeCycle
-
createTimeDate
-
createTimeDuration
-
createEdge(BaseElement)instead