org.camunda.bpm.model.bpmn.builder
Class AbstractThrowEventBuilder<B extends AbstractThrowEventBuilder<B,E>,E extends ThrowEvent>
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractEventBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractThrowEventBuilder<B,E>
- Direct Known Subclasses:
- AbstractEndEventBuilder, AbstractIntermediateThrowEventBuilder
public abstract class AbstractThrowEventBuilder<B extends AbstractThrowEventBuilder<B,E>,E extends ThrowEvent>
- extends AbstractEventBuilder<B,E>
- Author:
- Sebastian Menski
| Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder |
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 |
| Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder |
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractThrowEventBuilder
protected AbstractThrowEventBuilder(BpmnModelInstance modelInstance,
E element,
Class<?> selfType)
message
public B message(String messageName)
- Sets an event definition for the given message name. If already a message
with this name exists it will be used, otherwise a new message is created.
- Parameters:
messageName - the name of the message
- Returns:
- the builder object
messageEventDefinition
public MessageEventDefinitionBuilder messageEventDefinition()
- Creates an empty message event definition with an unique id
and returns a builder for the message event definition.
- Returns:
- the message event definition builder object
messageEventDefinition
public MessageEventDefinitionBuilder messageEventDefinition(String id)
- Creates an empty message event definition with the given id
and returns a builder for the message event definition.
- Parameters:
id - the id of the message event definition
- Returns:
- the message event definition builder object
signal
public B signal(String signalName)
- Sets an event definition for the given signal name. If already a signal
with this name exists it will be used, otherwise a new signal is created.
- Parameters:
signalName - the name of the signal
- Returns:
- the builder object
escalation
public B escalation(String escalationCode)
- Sets an escalation definition for the given escalation code. If already an
escalation with this code exists it will be used, otherwise a new
escalation is created.
- Parameters:
escalationCode - the code of the escalation
- Returns:
- the builder object
compensateEventDefinition
public CompensateEventDefinitionBuilder compensateEventDefinition()
compensateEventDefinition
public CompensateEventDefinitionBuilder compensateEventDefinition(String id)
Copyright © 2017 camunda services GmbH. All rights reserved.