public abstract class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,ErrorEventDefinition>
SPACE
element, modelInstance, myself
Constructor and Description |
---|
AbstractErrorEventDefinitionBuilder(BpmnModelInstance modelInstance,
ErrorEventDefinition element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
error(String errorCode)
Sets the error attribute with errorCode.
|
B |
errorCodeVariable(String errorCodeVariable)
Sets the error code variable attribute.
|
<T extends AbstractFlowNodeBuilder> |
errorEventDefinitionDone()
Finishes the building of a error event definition.
|
B |
errorMessageVariable(String errorMessageVariable)
Sets the error message variable attribute.
|
B |
id(String identifier)
Sets the identifier of the element.
|
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
done, getElement, subProcessDone, transactionDone
public AbstractErrorEventDefinitionBuilder(BpmnModelInstance modelInstance, ErrorEventDefinition element, Class<?> selfType)
public B id(String identifier)
AbstractBaseElementBuilder
id
in class AbstractBaseElementBuilder<B extends AbstractErrorEventDefinitionBuilder<B>,ErrorEventDefinition>
identifier
- the identifier to setpublic B errorCodeVariable(String errorCodeVariable)
public B errorMessageVariable(String errorMessageVariable)
public <T extends AbstractFlowNodeBuilder> T errorEventDefinitionDone()
T
- Copyright © 2019. All rights reserved.