Class AbstractEndEventBuilder<B extends AbstractEndEventBuilder<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.AbstractFlowElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractEventBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractThrowEventBuilder<B,EndEvent>
-
- org.camunda.bpm.model.bpmn.builder.AbstractEndEventBuilder<B>
-
- Direct Known Subclasses:
EndEventBuilder
public abstract class AbstractEndEventBuilder<B extends AbstractEndEventBuilder<B>> extends AbstractThrowEventBuilder<B,EndEvent>
- Author:
- Sebastian Menski
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStarted
-
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
Constructors Modifier Constructor Description protected
AbstractEndEventBuilder(BpmnModelInstance modelInstance, EndEvent element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
error(String errorCode)
Sets an error definition for the given error code.B
error(String errorCode, String errorMessage)
Sets an error definition for the given error code.-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractThrowEventBuilder
compensateEventDefinition, compensateEventDefinition, escalation, message, messageEventDefinition, messageEventDefinition, signal, signalEventDefinition
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractEventBuilder
camundaInputParameter, camundaOutputParameter
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, camundaExecutionListenerClass, camundaExecutionListenerClass, camundaExecutionListenerDelegateExpression, camundaExecutionListenerExpression, camundaFailedJobRetryTimeCycle, camundaJobPriority, compensationDone, compensationStart, condition, connectTarget, connectTargetWithAssociation, connectTargetWithSequenceFlow, connectTo, createTarget, createTargetBuilder, createTargetBuilder, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastGateway, moveToNode, notCamundaExclusive, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTask
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder
name
-
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, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Constructor Detail
-
AbstractEndEventBuilder
protected AbstractEndEventBuilder(BpmnModelInstance modelInstance, EndEvent element, Class<?> selfType)
-
-
Method Detail
-
error
public B error(String errorCode)
Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created.- Parameters:
errorCode
- the code of the error- Returns:
- the builder object
-
error
public B error(String errorCode, String errorMessage)
Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created with the given errorMessage.- Parameters:
errorCode
- the code of the errorerrorMessage
- the error message that is used when a new error needs to be created- Returns:
- the builder object
-
-