public abstract class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>> extends AbstractCatchEventBuilder<B,BoundaryEvent>
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.
|
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDuration
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, camundaExecutionListenerClass, camundaExecutionListenerDelegateExpression, camundaExecutionListenerExpression, camundaFailedJobRetryTimeCycle, camundaJobPriority, condition, connectTo, 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, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id
done, 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()
Copyright © 2018. All rights reserved.