Class AbstractBpmnModelElementBuilder<B extends AbstractBpmnModelElementBuilder<B,E>,E extends BpmnModelElementInstance>
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
- Direct Known Subclasses:
AbstractBaseElementBuilder
,AbstractCamundaFormFieldBuilder
public abstract class AbstractBpmnModelElementBuilder<B extends AbstractBpmnModelElementBuilder<B,E>,E extends BpmnModelElementInstance>
extends Object
- Author:
- Sebastian Menski
-
Field Summary
Modifier and TypeFieldDescriptionprotected final E
protected final BpmnModelInstance
protected final B
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractBpmnModelElementBuilder
(BpmnModelInstance modelInstance, E element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptiondone()
Finishes the process building.Finishes the building of an embedded sub-process.
-
Field Details
-
modelInstance
-
element
-
myself
-
-
Constructor Details
-
AbstractBpmnModelElementBuilder
protected AbstractBpmnModelElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
-
-
Method Details
-
done
Finishes the process building.- Returns:
- the model instance with the build process
-
subProcessDone
Finishes the building of an embedded sub-process.- Returns:
- the parent sub-process builder
- Throws:
BpmnModelException
- if no parent sub-process can be found
-
transactionDone
-
throwEventDefinitionDone
-
getElement
-