public abstract class AbstractThrowEventBuilder<B extends AbstractThrowEventBuilder<B,E>,E extends ThrowEvent> extends AbstractEventBuilder<B,E>
compensateBoundaryEvent, compensationStarted
SPACE
element, modelInstance, myself
Modifier | Constructor and Description |
---|---|
protected |
AbstractThrowEventBuilder(BpmnModelInstance modelInstance,
E element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
CompensateEventDefinitionBuilder |
compensateEventDefinition() |
CompensateEventDefinitionBuilder |
compensateEventDefinition(String id) |
B |
escalation(String escalationCode)
Sets an escalation definition for the given escalation code.
|
B |
message(String messageName)
Sets an event definition for the given message name.
|
MessageEventDefinitionBuilder |
messageEventDefinition()
Creates an empty message event definition with an unique id
and returns a builder for the message event definition.
|
MessageEventDefinitionBuilder |
messageEventDefinition(String id)
Creates an empty message event definition with the given id
and returns a builder for the message event definition.
|
B |
signal(String signalName)
Sets an event definition for the given signal name.
|
SignalEventDefinitionBuilder |
signalEventDefinition(String signalName)
Sets an event definition for the given Signal name.
|
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, 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, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
protected AbstractThrowEventBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
public B message(String messageName)
messageName
- the name of the messagepublic MessageEventDefinitionBuilder messageEventDefinition()
public MessageEventDefinitionBuilder messageEventDefinition(String id)
id
- the id of the message event definitionpublic B signal(String signalName)
signalName
- the name of the signalpublic SignalEventDefinitionBuilder signalEventDefinition(String signalName)
signalName
- the name of the signalpublic B escalation(String escalationCode)
escalationCode
- the code of the escalationpublic CompensateEventDefinitionBuilder compensateEventDefinition()
public CompensateEventDefinitionBuilder compensateEventDefinition(String id)
Copyright © 2021. All rights reserved.