public abstract class AbstractThrowEventBuilder<B extends AbstractThrowEventBuilder<B,E>,E extends ThrowEvent> extends AbstractEventBuilder<B,E>
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.
|
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 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.