Class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>>
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,ErrorEventDefinition>
org.camunda.bpm.model.bpmn.builder.AbstractErrorEventDefinitionBuilder<B>
- Direct Known Subclasses:
CamundaErrorEventDefinitionBuilder
,ErrorEventDefinitionBuilder
public abstract class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>>
extends AbstractRootElementBuilder<B,ErrorEventDefinition>
- Author:
- Deivarayan Azhagappan
-
Field Summary
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
Constructor Summary
ConstructorDescriptionAbstractErrorEventDefinitionBuilder
(BpmnModelInstance modelInstance, ErrorEventDefinition element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionSets the error attribute with errorCode.Sets the error attribute with errorCode and errorMessage.errorCodeVariable
(String errorCodeVariable) Sets the error code variable attribute.<T extends AbstractFlowNodeBuilder>
TFinishes the building of a error event definition.errorMessageVariable
(String errorMessageVariable) Sets the error message variable attribute.Sets the identifier of the element.Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
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
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Constructor Details
-
AbstractErrorEventDefinitionBuilder
public AbstractErrorEventDefinitionBuilder(BpmnModelInstance modelInstance, ErrorEventDefinition element, Class<?> selfType)
-
-
Method Details
-
id
Description copied from class:AbstractBaseElementBuilder
Sets the identifier of the element.- Overrides:
id
in classAbstractBaseElementBuilder<B extends AbstractErrorEventDefinitionBuilder<B>,
ErrorEventDefinition> - Parameters:
identifier
- the identifier to set- Returns:
- the builder object
-
errorCodeVariable
Sets the error code variable attribute. -
errorMessageVariable
Sets the error message variable attribute. -
error
Sets the error attribute with errorCode. -
error
Sets the error attribute with errorCode and errorMessage. -
errorEventDefinitionDone
Finishes the building of a error event definition.- Type Parameters:
T
-- Returns:
- the parent event builder
-