org.camunda.bpm.model.bpmn.builder
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:
- ErrorEventDefinitionBuilder
public abstract class AbstractErrorEventDefinitionBuilder<B extends AbstractErrorEventDefinitionBuilder<B>>
- extends AbstractRootElementBuilder<B,ErrorEventDefinition>
- Author:
- Deivarayan Azhagappan
| Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractErrorEventDefinitionBuilder
public AbstractErrorEventDefinitionBuilder(BpmnModelInstance modelInstance,
ErrorEventDefinition element,
Class<?> selfType)
id
public B id(String identifier)
- Description copied from class:
AbstractBaseElementBuilder
- Sets the identifier of the element.
- Overrides:
id in class AbstractBaseElementBuilder<B extends AbstractErrorEventDefinitionBuilder<B>,ErrorEventDefinition>
- Parameters:
identifier - the identifier to set
- Returns:
- the builder object
errorCodeVariable
public B errorCodeVariable(String errorCodeVariable)
- Sets the error code variable attribute.
errorMessageVariable
public B errorMessageVariable(String errorMessageVariable)
- Sets the error message variable attribute.
error
public B error(String errorCode)
- Sets the error attribute with errorCode.
errorEventDefinitionDone
public <T extends AbstractFlowNodeBuilder> T errorEventDefinitionDone()
- Finishes the building of a error event definition.
- Type Parameters:
T -
- Returns:
- the parent event builder
Copyright © 2017 camunda services GmbH. All rights reserved.