org.camunda.bpm.model.bpmn.builder
Class AbstractEventBasedGatewayBuilder<B extends AbstractEventBasedGatewayBuilder<B>>

java.lang.Object
  extended by org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
      extended by org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
          extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
                  extended by org.camunda.bpm.model.bpmn.builder.AbstractGatewayBuilder<B,EventBasedGateway>
                      extended by org.camunda.bpm.model.bpmn.builder.AbstractEventBasedGatewayBuilder<B>
Direct Known Subclasses:
EventBasedGatewayBuilder

public class AbstractEventBasedGatewayBuilder<B extends AbstractEventBasedGatewayBuilder<B>>
extends AbstractGatewayBuilder<B,EventBasedGateway>

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStarted
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
protected AbstractEventBasedGatewayBuilder(BpmnModelInstance modelInstance, EventBasedGateway element, Class<?> selfType)
           
 
Method Summary
 B camundaAsyncAfter()
          Sets the Camunda asyncAfter attribute to true.
 B camundaAsyncAfter(boolean isCamundaAsyncAfter)
          Sets the Camunda asyncAfter attribute for the build flow node.
 B eventGatewayType(EventBasedGatewayType eventGatewayType)
          Sets the event gateway type of the build event based gateway.
 B instantiate()
          Sets the build event based gateway to be instantiate.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractGatewayBuilder
gatewayDirection
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, 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.AbstractFlowElementBuilder
name
 
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 org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEventBasedGatewayBuilder

protected AbstractEventBasedGatewayBuilder(BpmnModelInstance modelInstance,
                                           EventBasedGateway element,
                                           Class<?> selfType)
Method Detail

instantiate

public B instantiate()
Sets the build event based gateway to be instantiate.

Returns:
the builder object

eventGatewayType

public B eventGatewayType(EventBasedGatewayType eventGatewayType)
Sets the event gateway type of the build event based gateway.

Parameters:
eventGatewayType - the event gateway type to set
Returns:
the builder object

camundaAsyncAfter

public B camundaAsyncAfter()
Description copied from class: AbstractFlowNodeBuilder
Sets the Camunda asyncAfter attribute to true.

Overrides:
camundaAsyncAfter in class AbstractFlowNodeBuilder<B extends AbstractEventBasedGatewayBuilder<B>,EventBasedGateway>
Returns:
the builder object

camundaAsyncAfter

public B camundaAsyncAfter(boolean isCamundaAsyncAfter)
Description copied from class: AbstractFlowNodeBuilder
Sets the Camunda asyncAfter attribute for the build flow node.

Overrides:
camundaAsyncAfter in class AbstractFlowNodeBuilder<B extends AbstractEventBasedGatewayBuilder<B>,EventBasedGateway>
Parameters:
isCamundaAsyncAfter - boolean value to set
Returns:
the builder object


Copyright © 2017 camunda services GmbH. All rights reserved.