public abstract class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,ErrorEventDefinition>
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, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement
done, 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 © 2018. All rights reserved.