public abstract class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>> extends AbstractCatchEventBuilder<B,BoundaryEvent>
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 |
setWaypoints(BpmnEdge edge) |
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, condition, connectTarget, connectTo, createTarget, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, 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, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess
done, getElement, subProcessDone, 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 setWaypoints(BpmnEdge edge)
setWaypoints
in class AbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,BoundaryEvent>
Copyright © 2018. All rights reserved.