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 |
error(String errorCode,
String errorMessage)
Sets the error attribute with errorCode and errorMessage.
|
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, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, documentation, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
done, getElement, subProcessDone, throwEventDefinitionDone, 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 B error(String errorCode, String errorMessage)
public <T extends AbstractFlowNodeBuilder> T errorEventDefinitionDone()
T
- Copyright © 2021. All rights reserved.