public abstract class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>> extends AbstractCatchEventBuilder<B,BoundaryEvent>
compensateBoundaryEvent, compensationStarted
SPACE
element, modelInstance, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractBoundaryEventBuilder(BpmnModelInstance modelInstance,
BoundaryEvent element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
cancelActivity(Boolean cancelActivity)
Set if the boundary event cancels the attached activity.
|
B |
error()
Sets a catch all error definition.
|
B |
error(String errorCode)
Sets an error definition for the given error code.
|
ErrorEventDefinitionBuilder |
errorEventDefinition()
Creates an error event definition
and returns a builder for the error event definition.
|
ErrorEventDefinitionBuilder |
errorEventDefinition(String id)
Creates an error event definition with an unique id
and returns a builder for the error event definition.
|
B |
escalation()
Sets a catch all escalation definition.
|
B |
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) |
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDuration
camundaInputParameter, camundaOutputParameter
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
name
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, id, resizeSubProcess, setWaypoints
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
protected AbstractBoundaryEventBuilder(BpmnModelInstance modelInstance, BoundaryEvent element, Class<?> selfType)
public B cancelActivity(Boolean cancelActivity)
cancelActivity
- true if the boundary event cancels the activiy, false otherwisepublic B error()
public B error(String errorCode)
errorCode
- the code of the errorpublic ErrorEventDefinitionBuilder errorEventDefinition(String id)
public ErrorEventDefinitionBuilder errorEventDefinition()
public B escalation()
public B escalation(String escalationCode)
escalationCode
- the code of the escalationprotected void setCoordinates(BpmnShape shape)
setCoordinates
in class AbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,BoundaryEvent>
protected void setWaypointsWithSourceAndTarget(BpmnEdge edge, FlowNode edgeSource, FlowNode edgeTarget)
setWaypointsWithSourceAndTarget
in class AbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,BoundaryEvent>
Copyright © 2019. All rights reserved.