org.camunda.bpm.model.bpmn.builder
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelInstance
protected final BpmnModelInstance modelInstance
element
protected final E extends BpmnModelElementInstance element
myself
protected final B extends AbstractBpmnModelElementBuilder<B,E> myself
AbstractBpmnModelElementBuilder
protected AbstractBpmnModelElementBuilder(BpmnModelInstance modelInstance,
E element,
Class<?> selfType)
done
public BpmnModelInstance done()
- Finishes the process building.
- Returns:
- the model instance with the build process
subProcessDone
public SubProcessBuilder 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
public TransactionBuilder transactionDone()
getElement
public E getElement()
Copyright © 2017 camunda services GmbH. All rights reserved.