Class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<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.AbstractCatchEventBuilder<B,BoundaryEvent>
org.camunda.bpm.model.bpmn.builder.AbstractBoundaryEventBuilder<B>
- Direct Known Subclasses:
BoundaryEventBuilder
public abstract class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>>
extends AbstractCatchEventBuilder<B,BoundaryEvent>
- 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
ModifierConstructorDescriptionprotected
AbstractBoundaryEventBuilder
(BpmnModelInstance modelInstance, BoundaryEvent element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncancelActivity
(Boolean cancelActivity) Set if the boundary event cancels the attached activity.error()
Sets a catch all error definition.Sets an error definition for the given error code.Sets an error definition for the given error code.Creates an error event definition and returns a builder for the error event definition.Creates an error event definition with an unique id and returns a builder for the error event definition.Sets a catch all escalation definition.escalation
(String escalationCode) Sets an escalation definition for the given escalation code.protected void
setCoordinates
(BpmnShape shape) protected void
setWaypointsWithSourceAndTarget
(BpmnEdge edge, FlowNode edgeSource, FlowNode edgeTarget) Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractCatchEventBuilder
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDuration
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, setWaypoints
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Constructor Details
-
AbstractBoundaryEventBuilder
protected AbstractBoundaryEventBuilder(BpmnModelInstance modelInstance, BoundaryEvent element, Class<?> selfType)
-
-
Method Details
-
cancelActivity
Set if the boundary event cancels the attached activity.- Parameters:
cancelActivity
- true if the boundary event cancels the activiy, false otherwise- Returns:
- the builder object
-
error
Sets a catch all error definition.- Returns:
- the builder object
-
error
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
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 with the given error message is created.- 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
-
errorEventDefinition
Creates an error event definition with an unique id and returns a builder for the error event definition.- Returns:
- the error event definition builder object
-
errorEventDefinition
Creates an error event definition and returns a builder for the error event definition.- Returns:
- the error event definition builder object
-
escalation
Sets a catch all escalation definition.- Returns:
- the builder object
-
escalation
Sets an escalation definition for the given escalation code. If already an escalation with this code exists it will be used, otherwise a new escalation is created.- Parameters:
escalationCode
- the code of the escalation- Returns:
- the builder object
-
setCoordinates
- Overrides:
setCoordinates
in classAbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,
BoundaryEvent>
-
setWaypointsWithSourceAndTarget
protected void setWaypointsWithSourceAndTarget(BpmnEdge edge, FlowNode edgeSource, FlowNode edgeTarget) - Overrides:
setWaypointsWithSourceAndTarget
in classAbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,
BoundaryEvent>
-