public abstract class AbstractBpmnModelElementBuilder<B extends AbstractBpmnModelElementBuilder<B,E>,E extends BpmnModelElementInstance> extends Object
Modifier and Type | Field and Description |
---|---|
protected E |
element |
protected BpmnModelInstance |
modelInstance |
protected B |
myself |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBpmnModelElementBuilder(BpmnModelInstance modelInstance,
E element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
BpmnModelInstance |
done()
Finishes the process building.
|
E |
getElement() |
SubProcessBuilder |
subProcessDone()
Finishes the building of an embedded sub-process.
|
AbstractThrowEventBuilder |
throwEventDefinitionDone() |
TransactionBuilder |
transactionDone() |
protected final BpmnModelInstance modelInstance
protected final E extends BpmnModelElementInstance element
protected final B extends AbstractBpmnModelElementBuilder<B,E> myself
protected AbstractBpmnModelElementBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
public BpmnModelInstance done()
public SubProcessBuilder subProcessDone()
BpmnModelException
- if no parent sub-process can be foundpublic TransactionBuilder transactionDone()
public AbstractThrowEventBuilder throwEventDefinitionDone()
public E getElement()
Copyright © 2021. All rights reserved.