public abstract class AbstractThrowEventBuilder<B extends AbstractThrowEventBuilder<B,E>,E extends ThrowEvent> extends AbstractEventBuilder<B,E>
SPACEelement, 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.
|
camundaInputParameter, camundaOutputParameterbusinessRuleTask, 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, userTasknameaddExtensionElement, 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, setCoordinates, setWaypointsdone, getElement, subProcessDone, transactionDoneprotected 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 B escalation(String escalationCode)
escalationCode - the code of the escalationpublic CompensateEventDefinitionBuilder compensateEventDefinition()
public CompensateEventDefinitionBuilder compensateEventDefinition(String id)
Copyright © 2018. All rights reserved.