org.camunda.bpm.model.bpmn.builder
Class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>>
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.AbstractCatchEventBuilder<B,BoundaryEvent>
org.camunda.bpm.model.bpmn.builder.AbstractBoundaryEventBuilder<B>
- Direct Known Subclasses:
- BoundaryEventBuilder
public abstract class AbstractBoundaryEventBuilder<B extends AbstractBoundaryEventBuilder<B>>
- extends AbstractCatchEventBuilder<B,BoundaryEvent>
- Author:
- Sebastian Menski
| Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractCatchEventBuilder |
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, message, parallelMultiple, signal, timerWithCycle, timerWithDate, timerWithDuration |
| 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, setWaypoints |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBoundaryEventBuilder
protected AbstractBoundaryEventBuilder(BpmnModelInstance modelInstance,
BoundaryEvent element,
Class<?> selfType)
cancelActivity
public B cancelActivity(Boolean cancelActivity)
- Set if the boundary event cancels the attached activity.
- Parameters:
cancelActivity - true if the boundary event cancels the activiy, false otherwise
- Returns:
- the builder object
error
public B error()
- Sets a catch all error definition.
- Returns:
- the builder object
error
public B error(String errorCode)
- Sets an error definition for the given error code. If already an error
with this code exists it will be used, otherwise a new error is created.
- Parameters:
errorCode - the code of the error
- Returns:
- the builder object
errorEventDefinition
public ErrorEventDefinitionBuilder errorEventDefinition(String id)
- Creates an error event definition with an unique id
and returns a builder for the error event definition.
- Returns:
- the error event definition builder object
errorEventDefinition
public ErrorEventDefinitionBuilder errorEventDefinition()
- Creates an error event definition
and returns a builder for the error event definition.
- Returns:
- the error event definition builder object
escalation
public B escalation()
- Sets a catch all escalation definition.
- 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
setCoordinates
protected void setCoordinates(BpmnShape shape)
- Overrides:
setCoordinates in class AbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,BoundaryEvent>
setWaypointsWithSourceAndTarget
protected void setWaypointsWithSourceAndTarget(BpmnEdge edge,
FlowNode edgeSource,
FlowNode edgeTarget)
- Overrides:
setWaypointsWithSourceAndTarget in class AbstractBaseElementBuilder<B extends AbstractBoundaryEventBuilder<B>,BoundaryEvent>
Copyright © 2017 camunda services GmbH. All rights reserved.