public abstract class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>> extends AbstractCatchEventBuilder<B,BoundaryEvent>
compensateBoundaryEvent, compensationStartedSPACEelement, 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.
|
B |
error(String errorCode,
String errorMessage)
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, timerWithDurationcamundaInputParameter, camundaOutputParameterbusinessRuleTask, 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, userTasknameaddExtensionElement, 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, setWaypointsdone, getElement, subProcessDone, throwEventDefinitionDone, transactionDoneprotected 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 B error(String errorCode, String errorMessage)
errorCode - the code of the errorerrorMessage - the error message that is used when a new error needs
to be createdpublic 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 © 2021. All rights reserved.